Redirect to not working url
Last Post 06/20/2015 9:32 AM by Andy Stephenson DNN Creative. 1 Replies.
Author Messages
abrainard
Nuke Newbie
Nuke Newbie
Posts:5


--
05/19/2015 8:51 PM  
Hello,

I'm new to DNN. I installed and built my site in a subdirectory, mysite.com/dotnetnuke. I got my site looking good and acting the way I wanted. This site isn't for business or anything....I'm getting married so I put together a quick wedding website. Because it's not really important that the site be perfect I thought I could just use a simple html redirect:



<script type="text/javascript"> <br /> window.location.href='https://www.mysite.com/dotnetnuke'; <br /> </script> <br /> </head> <br /> <body>This page has moved to <a href="https://www.mysite.com/dotnetnuke">https://www.mysite.com/dotnetnuke</a> <br /> </body> <br /> </html> <br /> <br /> This wasn't working. It site kept displaying my maintenance page. So I checked the "site management" part of DNN. There I saw the redirect option. Listed under site aliases was mysite.com/dotnetnuke. I added mysite.com to the list. Then I clicked redirect and selected mysite.com. I thought this would take the traffic from mysite.com and redirect it to mysite.com/dotnetnuke. <br /> <br /> Currently, when I go to either mysite.com or mysite.com/dotnetnuke I get the original maintenance page. I can't access a login portal to chance the "site management" settings to fix the problem. I have full access to the site files and have deleted the html page. This didn't help. Can someone please walk me through the fix for this issue? <br /> <br /> Thank you very much for your help!
Andy Stephenson DNN Creative
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:169


--
06/20/2015 9:32 AM  
Hi.

Don't run your site on a subfolder like that. Install it from the start on the main root folder.

Andy


---