Try our conversational search powered by Generative AI!

Norwegian url contains swedish words



I have deployed my episerver7 site on test server but norwegian url contains some swedish words.Please see the below url for details.

Instead of someswedishwords there should be somenorwegianwords.

Could you please let me know if any setting is missing.

Nov 20, 2014 14:44

What do you mean by norwegian url contains swedish words? is there a page in the CMS that has a name in the url set to these swedish words?

more details needed..

Nov 20, 2014 22:16

ok,Please find the description below.

I have added this settings for accessing norway and swedish language in episerverframework.config file.

<siteHosts siteId="abc">
<clear />
<add name="*" />
<add name="" language="no" />
<add name="" language="sv" />


we have our site in two languages i.e norwegian and swedish.

we have published a page in both norwegian and swedish language

When i am accessing

then it is showing that Page is written in swedish language in the url which is correct.

And when i am accessing

then it is showing that Page is written in swedish language in the url but content is in norwegian.Page should be written in norwegian language i.e no-page in this case.

And this happening for all the pages created in CMS.

Could you please help me to resolve above mentioned issue.

Nov 21, 2014 6:54

Sounds like this is excatly how it should be. If you are accessing .no site and you see Norwegian content - this means that EPiServer has correctly set content language according to host mappings.

Page name in URL does not change from language to language by default. If you want to change from Swedish name to Norwegian one - you just have to edit a page "Name in URL" property.

Nov 21, 2014 8:30

The default behavior to clone the original values of name and name in url when doing translations can be a bit confusing sometimes. Sometimes editors change name but forget to change "name in url" when they translate pages.

Nov 21, 2014 10:06

Yes for a page "page name in web address" property set for both languages but still norwagian page shows swedish web address of the page and swedish page shows swedish adress.

Nov 21, 2014 11:28

Did I understand correctly?

Swedish page:

  • Name in URL "this-is-sv-page"
  • Visited by:

Shows Swedish content

Norwegian page:

  • Name in URL "this-is-no-page"
  • Visited by:

Shows Norwegian content?

Nov 21, 2014 12:54

Yes, you are absolutely right.

Any idea why it is behaving like that.

Nov 21, 2014 13:58

Hi Valdis,

do you have any solution for above mentioned issue?

It was working fine in episerver5.2 site but it is not working as desired after migrating from episerver5.2 to 6.0-->6.1 and then 7.0 site.

Please reply to this mail.

Nov 25, 2014 6:40

Not sure what's going on there. Something similar side-effect could be possible with some language replacement or fallback configuration. But guess that's not an issue in your case..

Nov 26, 2014 8:08
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.