This project has moved and is read-only. For the latest updates, please go here.

After upgrade the language part in the URL changes to fully qualified localization culture...

Feb 24, 2015 at 11:08 PM
Hi Sacha,

After upgrading to the latest version of Open URL Rewriter the language part of the URLs has changed from the short one "/en/page-name" to the full one "/en-gb/page-name".

How do I fix it this, please?

Could you post an example if it's a new rewrite rule...

Many thanks,
Feb 25, 2015 at 11:37 AM

You have to change the site alias to


Marked as answer by EM1L on 2/25/2015 at 8:10 AM
Feb 25, 2015 at 12:59 PM
Is there a smart better way to manage the primary site alias when restoring the database to different environment?

For example when restoring your database from live site to let say we will need to change the primary alias from the live one to the test one to avoid redirection to the live site. I can think of two ways:
  • automate the primary alias update via sql script as part of the db restore process or
  • modify hosts file (or network dns server) to point the live url at local ip address
Both of the above are not ideal, I just wonder if this can be handled by some sort of smart config?