Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Redirects in IIS



Im having an issue with using the built in HTTP Redirects in IIS and my Episerver 7.5 site. I have multiple sites configured like this; -> goes to root folder www-fi -> goes to root folder www-ee

The different sites have different languagebranches, such as;

I would like to configure so that when the user tries to access it gets redirected to and the same goes for, the user gets redirected to when trying to access this site. When I use this configuration;

I do indeed get redirected, but I get presented with an error saying something like "this site contains multiple redirects and the request is unable to continue". 

Do I need to override episerver-redirects in order to solve this? Do i need to modify my config-files?


Sep 03, 2014 11:53

"this site contains multiple redirects and the request is unable to continue" means that there is a loop, it redirects to it self

Read more here on how to solve this:

Sep 03, 2014 13:03
You may try to select "Only redirect requests to content in this directory (not subdirectories)" in IIS
Sep 03, 2014 13:29

Is there a best practice for handling episerver sites on a top domain level? 

My solution was creating a webroot-folder for each site, ala's:



and pointing each site to it's corresponding catalogue. I also had to add the following to the web.config file;

That very much redirects me to the appropriate language when trying to access, but i doubt this is the correct way of doing it. 

Thanks for your replies, Henrik's link pointed me in the right direction.

Ahmet: As you can see in my screenshot, I did exactly that without any good result :/

Sep 03, 2014 13:51

Great to know Robin.

Please mark it as answer if you think it helped you

Sep 03, 2014 15:10

Do you have multiple sites or multiple language branches mapped to different domains within single site?

Edited, Sep 03, 2014 19:29

Robin I wouldn't create two different directories for the two top domains. Instead I would create two bindings in IIS for the two top domains and have them go to the same web root.

Then I would have some redirect rules to correct a user going to to


Sep 03, 2014 19:31

Valdis: Yes, we have multiple language branches mapped to different domains within a single site. and for example. If thats what you mean..?

Toni: That sounds like a better plan, how would I implement these redirect rules though? Via a RedirectProvider?

Sep 04, 2014 8:47

Robin, if you have multiple language branches in single site why not just use host binding and strictLanguageRouting? Johan can enlight you more:

Sep 08, 2014 23:39

Valdis nailed it, strictLanguageRouting was exactly what I needed. Thanks everyone! 

Sep 09, 2014 7:43
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.