Page's internal collection links have a nonexistent canonical URL
ID:
Backlog
Published on 12/21/2017
•
Last update on 12/22/2022
Summary
When creating a URL in CMS and associating that URL by default with a collection, the creation of a collection friendly URL becomes possible.
When accessing the link, the search result is generated together with a lateral filter sidebar. When clicking on any of these filters, you'll notice that the ending of the URL has the collection ID added to it, together with other parameters.
When accessing any of these links and analyzing the canonical URL, it's clear that the parameters are being excluded while the collection ID is being kept at the end of the URL as a path, which in turn leads to this URL being nonexistent, thus affecting the store's SEO.
Simulation
- Access the link with the collection's content.
- Access any link of the side filters.
- Inspect the HTML and analyze the canonical tag.
- Enter the URL indicated in the canonical tag, where you'll notice that the collection ID is displayed at the end of the URL but that the URL doesn't exist.
Workaround
There currently no workaround for this case.