SaaS CMS has officially launched! Learn more now.

Url works across all domains


 We have multiple domains for each language e.g.



Say I have an article for dog in both english and german with urls



The issue that I have is that the following also works



We require to redirect to

This can possibly be achieved by writing a custom url rewriter. The question is if that is recommended. I mean for every URL that gets hit, we would need to check if URL is correct for that domain. And that would mean loading the Page object before in the cycle while rewriting and also when finally URL reaches page handler.

Nov 15, 2012 20:43

I sugest contacting episerver support and talk to them cause it sounds like it might be a bug. Test if you have the same on a standar demowebsite from episerver. If it is by design you might be able to use the 404handler on epicode or write custom module that.

Make sure you have the correct language mapped i EPiServerFramework.config as well or look in admin-mode to see mapped languanges to domains

Dec 11, 2012 15:49

I think that there is a hotfix created where you can configure strict language handling which means that the last URL segment must match the language of the domain. Thus these links would give 404 reponses:

while the following URL:s would work as normal

Dec 12, 2012 9:14

@Linus, do you have any specifics regarding this hotfix?

According to another post, this issue is in the works for EPi 7, but I am running EPi 6 and am very much interested in a hotfix or workaround for that version.

Feb 15, 2013 14:32


Please send a hotfix request to developer support (requires partner access) .

Edited, Feb 19, 2013 8:20
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.