You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that categories, products, CMS pages and controllers load the same content with or without a trailing slash. Index controllers also load the same content with or without index folders in the URL.
This behaviour is not wanted from a SEO perspective. Multiple URLs causes duplicated pages. When search engines find two URLs for the same category, they will be treated as two URLs but marked as duplicates from each other. Canonicals can fix this problem, but even with the right canonicals it still costs your site's precious crawl budget.
Ideally all pages have just one URL. All other variants must either 301 redirect to the first one or serve the 404 Not Found page.
There is also an issue with the way URLs are being generated. For example, URLs generated in the footer links have a trailing slash, while URLs generated by the Magento\Cms\Block\Widget\Page\Link widget don't. Ideally this is consistent throughout the whole website.
Maybe it's a good idea to have URL suffix config options for all types of URLs. Also make sure these config options are used correctly. I also think Issue #3872 is related to this behaviour.
The text was updated successfully, but these errors were encountered:
I noticed that categories, products, CMS pages and controllers load the same content with or without a trailing slash. Index controllers also load the same content with or without index folders in the URL.
This behaviour is not wanted from a SEO perspective. Multiple URLs causes duplicated pages. When search engines find two URLs for the same category, they will be treated as two URLs but marked as duplicates from each other. Canonicals can fix this problem, but even with the right canonicals it still costs your site's precious crawl budget.
The following URLs provide the same content.
Categories
Products
CMS
Controllers
Ideally all pages have just one URL. All other variants must either 301 redirect to the first one or serve the 404 Not Found page.
There is also an issue with the way URLs are being generated. For example, URLs generated in the footer links have a trailing slash, while URLs generated by the
Magento\Cms\Block\Widget\Page\Link
widget don't. Ideally this is consistent throughout the whole website.Maybe it's a good idea to have URL suffix config options for all types of URLs. Also make sure these config options are used correctly. I also think Issue #3872 is related to this behaviour.
The text was updated successfully, but these errors were encountered: