Which version of CMS are you running? In some later patches a more rigid routing with respect to language where introduced (more information under http://world.episerver.com/Documentation/Items/Installation-Instructions/Installing-EPiServer-updates/Multilingual-Sites-and-Patch-2/)
You can get more tolerant behaviour as in CMS6 by setting attibute strictLanguageRouting=false on element siteSettings in CMS7 or applicationSettings in CMS 7.5
Thank you for your answer, Johan!
We're running EPiServer 7.1.
I'll set strictLanguageRouting=false to see if that helps.
Another thing that sould be of interest for you is to setup language mappings for your hosts. You do that in admin mode under Manage WebSites. E.g. can you add a mapping for "www3.elmia.se" to "se"
Johan: I added the attribute strictLanguageRouting=false and added a mapping for www3.elmia.se to se, and now it seems to work.
Thank you!
In EPiServer CMS 6 we could enter the following URL and end up on the Swedish page:
http://www.elmia.se/automation
If we enter the "same" URL in EPiServer CMS 7 we end up with a 404:
http://www3.elmia.se/automation
(the only thing that's different is 'www3' compared to 'www')
However, if we enter (notice the extra 'sv')
http://www3.elmia.se/sv/automation
it works like a charm.
Can anyone explain why this is? Is it tied somehow to routing? As I see it, if it worked in EPi6 it should work in EPi7 as well.