Using language prefix for URLs with the exception of default culture

Kurt Muller asked on September 25, 2019 12:26

Hi all,

I am looking for a solution for my current setup. In settings, I am using Use language prefix for URLs, but I do not want to use if for my default culture. Example below:

Default culture (German): www.sitename.com Spanish: www.sitename.com/es-es French: www.sitename.com/fr-fr

My current issue is that the default culture keeps returning www.sitename.com/de-de/ but don't want this.

How do I change this, just for my default culture?

Correct Answer

Anil Bandela answered on September 25, 2019 13:00

Kurt Muller Please follow below steps this will be use for different culture setup

Open the Localization application -> Cultures tab -> Type de-de into the Culture code filter and click Search.

Edit () the German - Germany culture.

Set the Culture alias property to something for change de-de.

Click on Save. And also see this settings too Go to Settings -> URLs and SEO -> SEO - Cultures -> Allow URLs without language prefixes

1 votesVote for this answer Unmark Correct answer

Recent Answers


Kurt Muller answered on September 25, 2019 13:17

Thanks Anil. Super simple, I feel like a dumb dumb :D

0 votesVote for this answer Mark as a Correct answer

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