When working with multi-language content in Optimizely Configured Commerce, provide URLs in the same language as the website to improve the overall customer experience. The URL can be customized to display the translation at the Category Root, the Category URL, the Product URL, or all three:
Aside from the initial setup, done manually in the Admin Console, creating translatable URLs for Products and Categories is most often accomplished through a Product integration job.
Translating URLs will not result in a duplicate content penalty when considering Search Engine Optimization (SEO).
All steps within this article are performed within the Admin Console.
- Catalog Root Path
- Product Canonical Root Path
Find these Settings in the Admin Console: Admin Console > Administration > Settings > Catalog > URLMapping section, or search using the search bar.
Translated URLs will only display when text is provided for the default language for the Catalog and Product Settings listed above.
- Go to the Settings listed above and enter the desired default language text.
- Go to Administration > Localization > Translation Dictionary
- Use the Keyword search and search for "root".
- Catalog_UrlRoot and Product_UrlRoot should display. If not, click MoreOptions and select Generate Records.
- For both Catalog_UrlRoot and Product_UrlRoot, click Edit and enter the translation into the Translation field.
- Go to Catalog > Products.
- Find the desired Product.
- Click Edit, then select Field Translation next to the URL Segment field.
- Enter the translated text for the desired language.
Go to Catalog > Categories
It may be necessary to select the appropriate website from the website selector menu.
Find the Category associated with the previously modified Product.
Click Edit, then select Field Translation next to the URL Segment field.
Enter the translated text for the desired language.
When these steps have been completed, rebuild the search index. Go to Marketing > Search > Indexing, and click Rebuild All.
Go to the website.
Change the displayed language to the desired language using the language drop-down.
Go to the modified product.
Translations for root path, category URL segment and product URL segment display for the selected language.
Updated 4 months ago