Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Remove language codes from urls being generated

Vote:
 

We have a site with two languages.

 

1. www.test.com

2. www.test.de

 

All pages are accessible with and without the language codes. For example, www.test.com/en/mypage.aspx, how to remove the language codes from the url?

#60403
Aug 07, 2012 15:19
Vote:
 

I think this is by design. However if the cultures are set on the host names correctly, a url containing a language code should never be generated or exposed to a website visitor.

#60405
Aug 07, 2012 16:35
Vote:
 

Like Adam said.

If you add the cultures (think its called language in the config) to the host names you should be able to get rid of the /en addresses.

Check this post for more info.

#60407
Aug 07, 2012 16:50
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.