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

Try our conversational search powered by Generative AI!

Skip language attribute in url

Vote:
 

Hi!

When I started to develop my first EPIServer site, by default there was English language defined. This site is not supposed to have switcher between languages. But all urls have "en" attribute ex. "localhost/en/restofpath". Is it possible to skip this attribute in path?

#69888
Apr 09, 2013 10:49
Vote:
 

Sure, map english as the default language in EPiServerFramwork.config

<episerver.framework>
  <siteHostMapping>
    <siteHosts>
      <add name="*" language="en" />
    </siteHosts>
  </siteHostMapping>
</episerver.framework>

    

#69890
Apr 09, 2013 11:13
Vote:
 

Thank you very much!

#69905
Apr 09, 2013 14:35
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.