Hi,
DNN Version 07.04.02 (216)
On a site with multilingual content we have a strange issue. I just added a portalalias for testing and removed it afterwards. So everything should be as before. But after that, nothing is like before. Even after restarting DNN multiple times, clearing cache of browser and much more. I even deleted the TabUrls Table one times because weird stuff and names where in there.
There are the following portal aliases, automatically created by DNN:
domain
domain/en-us
domain/de-de
domain/anyotherlanguage
All are set to "primary".
When I try to access a domain/fr-fr I get an ERR_TOO_MANY_REDIRECTS.
Fiddler:
HTTP/1.1 302 Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Location: https://DOMAIN/fr-fr/
Server: Microsoft-IIS/8.5
Set-Cookie: dnn_IsMobile=False; path=/; HttpOnly
Set-Cookie: language=fr-FR; path=/; HttpOnly
Date: Wed, 17 Jan 2018 08:37:49 GMT
Content-Length: 151
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https://DOMAIN/fr-fr/">here</a>.</h2>
</body></html>
When I'm logged in, the same url works and send me to the french home page.
When I remove the "primary" checkbox on fr-fr it works with domain/fr-fr without ERR_TOO_MANY_REDIRECTS but I have the weird effect that the language selector does not change the url any more.
Also there are other strange effect. The "detect browser language" never worked. I always got to the english login. During my desperate experiments, suddenly it works for a time. But later it stopped working again.
Any ideas? What causes the recursive redirects? And why only if I am not logged in?