Wednesday, June 1, 2011

Web address prefix and CMS6

After upgrading one of our American clients site to CMS 6 we realized that the Url rewrite seems to have changed a bit when it comes to how the language web address prefix is handled.

In CMS5 you were still able to browse it by the lang code even if you had set an address prefix for the default lang (en). For example, if you had set the prefix to "english" you could reach the site with either www.mysite.com/en/ and www.mysite.com/english/.

In CMS6 it seem to overwrite the lang code so by setting the prefix to /english/ you would not be able to reach the site with /en/.

The breaking changes doesn't say anything about this though.