Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi Dipak - Catalog routing is detailed here in Developer Guides:
https://world.episerver.com/documentation/developer-guides/commerce/routing/
In general, if you are using the hierarchical router, it will attach a language segment based on the Site Host Mapping configuration in the CMS Admin mode.
A simple example:
If you have a domain configured for a specific language and the current request is on that domain, you won't see a language segment in the URL.
If you have a single domain for all languages and the current request is on that domain, you should see a language segment in the URL.
I also suggest you use IUrlResolver directly if you are working within a Controller. See: https://world.episerver.com/documentation/class-library/?documentId=cms/10/8F74D57D
What routing configuration are you using?
var url = Url.PageLinkUrl(content);
This always returning "SEO URL" for catalog node pages. Instead this should return me
/{2letter culture}/Name In Url.
e.g.
/gb/food-ingredients
Any one knows about this.