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

Try our conversational search powered by Generative AI!

Changing pagename / name in URL in multilanguage environment


We have a multilanguage environment (english 'en' and dutch 'nl') where dutch is our default language and english our fallback language (yes i know that sounds a bit strange but we have our reasons). 

We do the following steps:

  1. Create a page named 'SomePage' in english + publish
  2. Go to dutch site and translate 'SomePage' to dutch + publish

We can now browse to '/en/SomePage' and '/nl/SomePage' and get the page in the correct language, no problems here yet.

Now we do the following:

  1. Rename the page 'SomePage' to 'SomeOtherPage', also rename the 'Name in URL' field to 'SomeOtherPage'. It doesn't matter for which language you do this, but for now lets assume we renamed the dutch page. Publish afterwards.

We can now browse to '/en/SomePage' and '/en/SomeOtherPage' for english language. We can also browse to '/nl/SomePage' and '/nl/SomeOtherPage'. All the pages load correctly with the correct language, however we did not expect that the pageUrl's marked with an underline would be loaded. We don't know if this is expected behaviour, but it seems a bit strange you can browse to a page that is not visible in the CMS.

It's not an issue for us, but we just wanted to share this in case it might be something unwanted/unexpected. Greetings.

Nov 13, 2012 14:46

Hi Martin!

This behavior has been the same since the first implementation of friendly URLs that was released quite many years ago. We have gotten some feedback about this lately though, so we decided to report a bug for this to see if it's possible to be more restrictive regarding what URL:s we allow to route to a page. This does not necessary mean that we will do the change but as least that we will investigate it and do the change if possible.

Linus Ekström
EPiServer Development Team

Nov 14, 2012 9:01
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.