"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:
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 www.mysite.fi, 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 :/
Great to know Robin.
Please mark it as answer if you think it helped you
Do you have multiple sites or multiple language branches mapped to different domains within single site?
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 www.mysite.fi/et to www.mysite.ee/et.
Valdis: Yes, we have multiple language branches mapped to different domains within a single site. www.mysite.fi/fi and www.mysite.se/fi 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?
Robin, if you have multiple language branches in single site why not just use host binding and strictLanguageRouting? Johan can enlight you more:
Valdis nailed it, strictLanguageRouting was exactly what I needed. Thanks everyone!
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;
www.mysite.fi -> goes to root folder www-fi
www.mysite.ee -> 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 www.mysite.fi it gets redirected to www.mysite.fi/fi and the same goes for www.mysite.ee, the user gets redirected to www.mysite.ee/et 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?