SaaS CMS has officially launched! Learn more now.

Custom market segment, canonical url



We are working on implementing a custom segment in a project where the segment will follow /{lang}-{market}/.

We have the segment working, however we have hit a bit of an issue with canonical urls.

When retrieving the content url for a product in French language and French market the url returned is /fr-gb/ instead of /fr-fr/.

Is there some loader options you can pass to urlresolver to inform it to use a French language and French market?


Apr 14, 2021 17:56

The default url resolver (and the underlying router) does not know about market. If you are using default router make sure the urlsegment for your catalog is correct for French language 

Apr 14, 2021 19:54
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.