Try our conversational search powered by Generative AI!

Globalisation - Not showing language code on default language


I'm building a multi-language site which will have English and Welsh versions of various pages. English will be the default language and I would rather not have all URLs updated to */en-GB/* so by default not show the language code. I'm happy that the Welsh pages would be prefixed with /cy/. Is this possible, I'm wondering if I can use rewrites or something.




Aug 15, 2011 17:35

Check out EPiServerFramework.config. There you can assign a address a default language. Set it to "en-GB" and it should not display the postfix.

Aug 15, 2011 21:07

You can also set this in admin mode (it simply changes EPiServerFramework.config for you):

Admin mode > Config > Site Information > [Click your site ID] > Edit button > Set the culture

Aug 15, 2011 22:15

Cheers guys this looks exactly what I need.

Aug 16, 2011 10:44
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.