Currently, the rel=canonical tag is automatically added to pages and is self-referencing. This creates problems for multi-lingual sites.
Example: A website available in English and French
For every url that is created in the first language, 365 Commerce automatically creates a matching url in the second language, and vice versa. As a result, we end up with four urls total, even though there are only two pages of content (An English version, and a French version):
- example.com/page-name
- example.com/french/page-name
- example.com/translated-page-name
- example.com/french/translated-page-name
Each of these pages appears to contain a self-referencing rel=canonical tag, which tells search engines to index all four pages when we only want to index two:
- example.com/page-name
- example.com/french/translated-page-name
We'd like the ability to specify the canonical url in sitebuilder.
Comments
Hello, I also realized that whatever choice you made, it needs to be integrated with the sitemaps feature. A sitemap cannot contain 4 URLs if only 2 are canonical.
Category: Content management and Authoring
We face this issue in our company. We had to create different pages, one for each language. We are no longer using the localization variants, as these introduce the canonical URLs issues. This issue limits the possibility of using the localization features of d365 ecom.One alternative to specifying manually the canonical URL, and that could work better in our opinion, would be having the possibility of localizing the URL slugs.
Category: Content management and Authoring
Administrator on 1/29/2024 6:27:01 PM
Thank you for the product suggestion! We will continue to monitor this idea and votes to determine if and when it will be given a position in our backlog.