A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Not to display default language in url in a Multi lingual website

Vote:
 
Hi,

We have developed a site in en-gb and zh-hans. We have set en-gb as default language.

Below are the Urls of each language.

www.examplesite.com/en-GB/pagename

www.examplesite.com/zh-hans/pagename


I want to remove default language(en-GB) from url.

Can you please advice how to achieve the above functionality in EPiserver7.5?


Thanks in advance.
#114546
Dec 15, 2014 12:19
Vote:
 

Go to admin mode, click the config tab and select "Manage websites"

Select your website and edit the host name you want to use "en-gb" on.

Make sure that en-gb is the selected language

#114551
Dec 15, 2014 12:51
Vote:
 

It does work.. very quick fix.

Thank you very much.

#114552
Edited, Dec 15, 2014 12:54
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.