301 Redirection problem

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/11/2013 4:51:01 PM
Gravatar
Total Posts 52

301 Redirection problem

Hi,

My site is giving me an error of recursive 301 redirection after a server movement. If you access to the pages (ex: www.clemkey/inicio.aspx) every thing to be ok, but when you try to connect to the root (www.clemkey.com) it gives this recursive redirect error. Other sites where moved with no incidence.

Server info:
mojoPortal Versión 2.3.9.7 MSSQL
Sistema operativoMicrosoft Windows NT 6.2.9200.0
Información de ASP.NETv4.0.30319 Ejecutando con Full Trust

This the http answer:

HTTP/1.1 301 Moved Permanently
Cache-Control: private
Content-Length: 0
Content-Type: text/html
Location: http://www.clemkey.com
Server: Microsoft-IIS/8.0
Set-Cookie: ASPSESSIONIDACTCDBBR=KGABNNKDODBNEIACGFFHBKIP; path=/
X-Powered-By: ASP.NET
Date: Fri, 11 Oct 2013 07:09:17 GMT
Connection: close
HTTP/1.1 301 Moved Permanently
Cache-Control: private
Content-Length: 0
Content-Type: text/html
Location: http://www.clemkey.com
Server: Microsoft-IIS/8.0
Set-Cookie: ASPSESSIONIDACTCDBBR=LGABNNKDINMNKCNGEIAOLEPB; path=/
X-Powered-By: ASP.NET
Date: Fri, 11 Oct 2013 07:09:17 GMT
Connection: close
HTTP/1.1 301 Moved Permanently
Cache-Control: private
Content-Length: 0
Content-Type: text/html
Location: http://www.clemkey.com
Server: Microsoft-IIS/8.0
Set-Cookie: ASPSESSIONIDACTCDBBR=MGABNNKDJICNCHDFEDHELLNN; path=/
X-Powered-By: ASP.NET
Date: Fri, 11 Oct 2013 07:09:17 GMT
Connection: close
StatusCode = 301

Thanks,

Carlos

 

10/11/2013 4:55:36 PM
Gravatar
Total Posts 18439

Re: 301 Redirection problem

You need to look under Admistration > Advanced Tools > 301 Redirect Manager

and delete any unwanted redirects that are listed there

Hope that helps,

Joe

10/11/2013 5:05:56 PM
Gravatar
Total Posts 52

Re: 301 Redirection problem

Thanks for your quick answer but there are no "wrong" redirects there. Anyway I have deleted all of the redirects and still have the same issue.

Carlos

10/11/2013 5:38:23 PM
Gravatar
Total Posts 18439

Re: 301 Redirection problem

ok, that means the 301 redirect is not coming from mojoportal, it is coming from something else like an IIS module or Web.config settings, or maybe you have some default document other than Default.aspx and that other document could be redirecting.

Make sure that Default.aspx is the only default document configured in IIS

But one problem is even once you find out what is causing the 301 redirect and you stop it from happening, unfortunately web browsers also cache 301 redirects and it can be difficult to get them to clear that from the cache. You can remove the 301 but the browser will still redirect because of the browser cache.

10/11/2013 6:16:55 PM
Gravatar
Total Posts 52

Re: 301 Redirection problem

Thanks for your help. There was an Default.asp that I don't know where it came from that was generating the error because after movement default.asp was loaded before the aspx.

Best regards,

Carlos

You must sign in to post in the forums. This thread is closed to new posts.