Changing pagename / name in URL in multilanguage environment

Vote:
 

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.

#63265
Nov 13, 2012 14:46
Vote:
 

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.

Regards
Linus Ekström
EPiServer Development Team

#63274
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.