Support » Fixing WordPress » Intermittent redirect loop

  • cbiweb


    I’m getting a redirect loop randomly and intermittently. Please read this post thoroughly because it’s not a cookie or .htaccess issue from what I can tell.

    I can be working on the site for a few minutes or an hour, when suddenly I get the loop. It will fix itself eventually, sometimes as long as 12 hours later! Sometimes only 5 minutes. It happens in Firefox and Chrome, haven’t tried other browsers.

    Cookies are always enabled, and I do not refuse them. I have tried clearing cookies, history and cache. I have rebooted. I have checked .htaccess. The problem persists. It took me well over 24 hours to get just a basic site site up with one post, because of waiting for the error to clear so many times.

    Another odd symptom of the problem is, while this error is occurring, sometimes I can get to the admin login page, but when I click through, it goes back to the redirect loop. So how is it that I can get to the login screen but no further? If the server is stuck in a loop, why does it show me the login page at all??

    I’d very much appreciate it if anyone can advise me on what else could be causing this issue.

    In Firefox the error says:

    The page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies.

    In Chrome it says:

    This web page has a redirect loop
    The web page at has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
    Here are some suggestions:
    Reload this web page later.
    Learn more about this problem.
    Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

    The site is: here

Viewing 1 replies (of 1 total)
  • s_ha_dum


    I couldn’t duplicate the issue.

    If you have no plugins installed and haven’t edited .htaccess– that is, your .htaccess file looks exactly like this–, then try some information gathering. Install a FireFox addon called HttpFox. Next time this issue occurs, turn on HttpFox and watch the output. It should give you some idea of what is redirected and to where. That may help isolate the issue.

    Actually, upon further investigation your .htaccess appears to not exist. That page gives a 404 response. In virtually all cases where I’ve tried that the response comes back as 403 (Forbidden), not 404, when the .htaccess file is present. Permission issues on the file could probably cause that though, even if the file is there.

    Bad cookie processing can do something like this. Even if you are accepting cookies, if the handling of the cookies goes wrong you can get an odd redirect. That should clear up when cookies are deleted though.

Viewing 1 replies (of 1 total)
  • The topic ‘Intermittent redirect loop’ is closed to new replies.