Kentico 8 - Localization with url prefixes - default document

Massimo Franciosa asked on March 15, 2016 13:53

I'm forwarding here the same question asked on StackOverflow, you can delete this question if you don't want duplication.

I'm trying to follow the documentation page below to Use language prefixes for URLs

https://docs.kentico.com/display/K8/Configuring+URLs+for+multilingual+websites

I got a page with the alias "Home" that should be the default document for all the cultures.

three cultures are currently available:

French (France) (Default) French (Belgium) Dutch (Belgium) what i want to achieve is the following:

[baseurl] -> redirect to [baseurl]/fr-fr/ [baseurl]/fr-fr/ -> show just the page with "Home" alias [baseurl]/fr-be/ -> redirect to [baseurl]/fr-be/ [baseurl]/nl-be/ -> redirect to [baseurl]/nl-be/ all of those should display the page with "Home" alias in the desired culture.

what I currently got instead is:

[baseurl] -> redirect to [baseurl]/fr-fr/Home CORRECT, but with wrong url ("Home" should not be necessary) [baseurl]/fr-fr/ -> show just the page with "Home" alias CORRECT [baseurl]/fr-be/ -> show the page with "Home" alias with French (France) culture [baseurl]/nl-be/ -> show the page with "Home" alias with French (France) culture basically, is ignoring the url-prefix.

MY SETUP

1) got a page under the root with alias "Home" (which should be default) localized with all 3 cultures

2) in Settings/Content in the section "Web site content", "Default alias path" is set to "/Home".

3) in Settings/Urls & Seo in the section "SEO - Cultures" the values are the following:

Force domain culture: FALSE Use language prefix for URLs: TRUE Allow URLs without language prefixes: FALSE Am I doing something wrong? do I need to setup the website differently in order to let this work as expected?

Thanks

Recent Answers


David te Kloese answered on March 15, 2016 13:56 (last edited on March 15, 2016 13:57)

Hi,

Did you know both StackOverflow and Kentico Q&A are integrated in this forum? The next topic on the listing is your own question from StackOverflow. I'd advise you not to open 2 tickets next to each other.

David

1 votesVote for this answer Mark as a Correct answer

Massimo Franciosa answered on March 15, 2016 13:59 (last edited on March 15, 2016 14:00)

Oops, didn't know that. this question can be removed/closed.

0 votesVote for this answer Mark as a Correct answer

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