• One fine day I woke up to find out I can’t get into my WP dashboard because everytime I tried to log-in, I got caught in a re-direct loop.

    Somebody suggested I delete and re-install htaccess – which I tried, my site loaded correctly ONCE and then I started receiving 501 Error code. I’m feeling pretty messed up! Does anybody know how to fix this?
    Will re-installing wordpress from scratch help? Also, will that make me lose content/posts/comments/followers/etc.?

    Please help! Website: https://nomadiclives.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • Seems you fixed the issue? If so, do close the thread. Thanks.

    Thread Starter sanket.d

    (@sanketd)

    I haven’t Viktor,

    I can’t seem to figure out what the matter is at all…

    Ivan

    (@ivanyordanov)

    I am able to load your wp-admin page properly at the moment. Could you try to log in now?

    Please make sure that you do not have any redirects in your .htaccess file. You can rename your current .htaccess and set up a new one with the default WP content:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Also, make sure that you do not have any plugins that make redirects. In fact, you can try to disable all of your plugins by renaming the plugins/ folder to see if some of them is causing the issue.

    You can also check if your site url and home entries in the database are correct.

    Restoring your site from the most recent back up is also an option that you can consider.

    Thread Starter sanket.d

    (@sanketd)

    thanks ivan,

    I pretty much worked for 24 straight hours towards backing up and re-storing the site. It seems to work now but it crashed as soon as I extracted the plugin folder – looks like I seem to have identified the cause; has to be a plugin. I’m guessing the next step is to identify which particular plugin might be causing this.

    thanks for your help. This was a great lesson in many ways – at least I became acquainted with my cPanel and won’t have to bank on somebody else to get minor changes done going forward! YAY!

    Ivan

    (@ivanyordanov)

    You’re most welcome. I assume that you are aware of that, but you can determine which plugin is causing the issue by enabling them one-by-one and see after which one the site will crash ??

    Thread Starter sanket.d

    (@sanketd)

    So I’m still struggling with this. I re-installed wordpress at least thrice through cPanel and it works for a while…then I re-install plugins one by one, and it’s still fine, so I leave it as is and then try to login a while later and kaboom! the same problem again. I’m tired of this…I just can’t seem to figure out what the cause/problem is and hence by default have no clue how to fix…this is so frustrating, I’ve posted nothing for over a month thanks to this bullshit now! Anybody from WordPress willing to help me out here? Here are the fixes I’ve already tried:

    i) re-install and re-store WP including disable and activate plugins one by one.
    ii) delete .htaccess and allow WP to re-generate a new one.

    Is there anything else that’s missing? If there’s a pluging that is known to cause this issue, can somebody fill me up on it?

    – Sanket

    I’ve struggled with troubleshooting a wp-admin redirect loop for the past week. I found that there was a php.ini file in the wp-admin directory that shouldn’t have been there. Here are the details of what I found: https://victorfont.com/fix-wp-multisite-wp-admin-redirect-loop/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Re-direct Loop on Login Page’ is closed to new replies.