Knowledgebase: DotNetNuke
The webpage has a redirect loop DotNetNuke (DNN)
Posted by on 15 November 2013 09:41 PM

If you have moved the site to a different server or even just a different domain name the problem might be in the site settings in the entry for the default portal alias. But if the site is not loading, you must edit the data in the PortalSettings table to alter the settings. 

In the PortalSettings table, find the record for your portalID (probably 0 but maybe not) where [Settingname]= DefaultPortalAlias. Clear the value on this record. 

Then find the record for PortalAliasMapping for the same portalID and if it is Redirect change it to CANONICALURL. Save the record and you might have to restart the application pool or touch (edit) the web.config to cause a site restart. 


(16 vote(s))
Not helpful

Comments (2)
16 May 2014 03:27 AM
Im trying to create a redirect logout on the dnn content but when i set the redirect link i keep getting an error message... the webpage has a redirect loop. <a href="/logoff.aspx?returnurl=/home.aspx"></a>
Team DNN
16 May 2014 05:52 PM
How about placing a redirector module on that logout page? It's not the best solution, but it works.
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).