Local Language URLs

Brian Edwards asked on October 14, 2021 19:23

Kentico 12SP MVC Site. We have a website with multiple cultures and use the language prefix to switch between cultures (/en-US/, /de-DE/, /ru-RU/, etc) The international teams are asking for localized language specific URLs where the directories and page names (page-alias) can be translated to local-language for bettter SEO. This appears not to be supported in Kentico.

I have experimented with alternative URL's, however, I have found that when using the grid feeds and menus that they are still pulling the default English variant of the URL, not the local language alternative URL.

Has anyone had any experience or know any workarounds to get local language URL's working for each culture?

Thank you for your help.

Recent Answers


Juraj Ondrus answered on October 18, 2021 05:56

This depends on how your routing and URL Pattern for given page types is configured. You could use e.g. the /{%DocumentName%} in the URL path - DocumentName comes from CMS_Document table which holds the culture versions data. Or, you could also introduce another field in the page types and use that one in the URL Pattern macro.

0 votesVote for this answer Mark as a Correct answer

Brian Edwards answered on October 18, 2021 21:27

Thanks Juraj, I will look into this - it is an interesting approach that I was not aware of. I appreciate the help.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.