Forums

[resolved] endless login redirect (3 posts)

  1. lagi
    Member
    Posted 5 months ago #

    I can't get to the dashboard (but always get the login page) no matter what back-end address I enter. I'm sure my login info is correct. The site itself also doesn't load but instead displays a "too many redirect" error.

    I'm sure it's not a browser issue since I've tested on multiple computers.

    This all started when I changed the option to disallow search engines to access the site. Before that everything was fine. I think that particular option is called "blog_public" on the SQL database, so I went in there and manually changed it from 0 back to 1. Still no luck.

    All plugins are disabled (changed name of the folder to TEMP_plugins), and .htaccess also is not the problem (I tested by changing to htaccess.txt via FTP). I'm actually not sure of what version of WP I'm running, since I can't get in to check, but it has been recently upgraded.

    Any ideas?

  2. lagi
    Member
    Posted 5 months ago #

    Additional information: I notice in safari that the URL switches back and forth between www and not-www before the domain name. It does this about 6 times then displays the redirect error message.

  3. lagi
    Member
    Posted 5 months ago #

    The problem was a .htaccess file. But it was in a higher level directory than WP is installed in. That .htaccess file had this:

    RewriteCond %{http_host} ^domain.org [nc]
    RewriteRule ^(.*)$ http://www.domain.org/$1 [r=301,nc]

    Upon removing those two lines everything is back to normal. But I'm still confused because it was working fine for many months with that root directory .htaccess file. And the loop only began to cause a problem once I modified the privacy option. I'd still like to know if anyone has any ideas about this, but I'm marking it resolved.

Reply

You must log in to post.

About this Topic