Setting up CCTLDs in Kentico

Bonny Parker-Davies asked on July 9, 2019 11:46

Hello! I manage a multi-culture site where we have 10 different cultures running. I need to set up the CCTLDs for my different sites and have been told that we can do this in Kentico. Our current URL structure in Kentico is www.domain.com/culture-folder/pageURL.

Just for clarity, I need to set up:

  • www.domain.fr needs to redirect to www.domain.com/fr-fr
  • www.domain.de needs to redirect to www.domain.com/de-de

Etc.etc.

Can anyone give me some guidance on how to do this? I have checked Kentico documentation and can't find any mention of it. If it can't be done within Kentico then I just need to know.

Correct Answer

Dmitry Bastron answered on July 9, 2019 12:58

Hi Bonny,

These redirects can be done in web.config file of your project. Please refer to this article to read more.

But this wouldn't be considered as a good practice in terms of performance. I would recommend setting up these redirects on reverse proxy or load balancer. The reason is if you configure redirects on Kentico website level each redirect triggers Kentico request pipline to be executed and if you have a high traffic on your website this may become an issue.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Bonny Parker-Davies answered on July 10, 2019 13:37

Thanks very much Dmitry. Sound advice!

0 votesVote for this answer Mark as a Correct answer

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