Hi I am new to magento2. Through the standard admin panel, I added the canonical. And after adding the canonical, the site's products began to give 404. Help anyone who has encountered such a problem
Solved! Go to Solution.
Hello @seoandosgmf05b
Adding canonical for products, magento has default option to be enabled for product and categories. Store - Configuration - Catalog - Catalog search - Seach Engine Optimization. I hope you have done from their only. If yes, then it should not create such issue.
For now, you can try these, if that helps.
Clear the cache: Go to System > Cache Management in the admin panel and clear all the caches.
Reindex the website: Go to System > Index Management in the admin panel and reindex all the indexes.
Check the URL Rewrite: Go to Marketing > SEO & Search > URL Rewrite in the admin panel and check if there are any URL rewrites that might be causing the issue. If you find any, you can try deleting them and then reindexing the website.
Check the product URLs: Go to Catalog > Products in the admin panel and check the URLs of the products that are giving a 404 error. Make sure that the URLs are correct and do not contain any typos.
Check the server logs: Check the server logs to see if there are any error messages that might help you identify the issue.
Hello @seoandosgmf05b
Adding canonical for products, magento has default option to be enabled for product and categories. Store - Configuration - Catalog - Catalog search - Seach Engine Optimization. I hope you have done from their only. If yes, then it should not create such issue.
For now, you can try these, if that helps.
Clear the cache: Go to System > Cache Management in the admin panel and clear all the caches.
Reindex the website: Go to System > Index Management in the admin panel and reindex all the indexes.
Check the URL Rewrite: Go to Marketing > SEO & Search > URL Rewrite in the admin panel and check if there are any URL rewrites that might be causing the issue. If you find any, you can try deleting them and then reindexing the website.
Check the product URLs: Go to Catalog > Products in the admin panel and check the URLs of the products that are giving a 404 error. Make sure that the URLs are correct and do not contain any typos.
Check the server logs: Check the server logs to see if there are any error messages that might help you identify the issue.