Support » Plugins » Possible fix for sudden redirect loop at wp-login with reauth=1

Viewing 15 replies - 1 through 15 (of 24 total)
  • Hi
    I am facing the same issue but not able to figure out the exact reason.
    In my case there is no session_token & site url is all ok.

    How to solve it.

    @avtar876 You’ll have to be a bit more specific than that. Did you follow my suggestion to enable the debugger and check out what pops up? Also, keep your eye on the errors that might pop up in your browser’s Javascript console. Those results should point you in the right direction of what exactly is breaking in your database (if it is the DB at all, which is, in this stadium, for me, a question).

    Debugger log:
    [13-Feb-2016 22:45:14 UTC] PHP Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /home/xxx/public_html/wp-includes/functions.php on line 3792

    [13-Feb-2016 22:46:18 UTC] PHP Notice: A feed could not be found at A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed. in /home/xxxx/public_html/wp-includes/class-simplepie.php on line 1580

    3-Feb-2016 22:46:18 UTC] PHP Notice: wpseo_pre_analysis_post_content filter/action is deprecated since version WPSEO 3.0! Use javascript instead. in /home/xxxx/public_html/wp-includes/functions.php on line 3573

    Above three error is being shown in debugger.

    I think some redirect code is inserted which i am unable to find.
    Can you suggest some other way.

    @avtar876 seems like your problem has nothing to do with the issue I posted about – rather it might be a congruence of different errors. I’m afraid I can’t help you further apart from the basics: disable all plugins and themes, except the default WP theme, and see if that helps. If it does, try reactivating them step-by-step to isolate the issue.

    Thanx will try later.

    I had the exact problem described in mengsel’s opening post tonight, except it was plaguing my Nexus 7 tablet with me trying to login to my website using Chrome. On my Windows 10 desktop I didn’t have any problem logging in. Of course, I’d been breaking things all evening installing/configuring WP Super Cache, Theme My Login, and a half dozen other plugins.

    So who knows what caused the redirect problem, but it turns out a thorough cleaning of history/cache on my tablet browser did the trick.


    • This reply was modified 3 years, 9 months ago by gsfergusson.

    I had the same problem on a few of my websites and I simply deleted all the garbage after login.php and they all worked just fine.

    Hello guys!
    I got same problem reauth=1 and trying to fix it from a month now even i did the same as you but my problem is always there, i’ve changed my website to https:// . when I login from frontend than click on dashboard it redirect me to
    and when other user log in than try to upload image for new post he got disconnected and somehow he can publish post if he didn’t try to upload anything and the post got saved..
    when i guess only admin can upload without getting disconnected i tried to fix the cookies this way:
    define( ‘COOKIE_DOMAIN’, ‘’ );
    define( ‘SITECOOKIEPATH’, ‘/’ );
    define( ‘COOKIEPATH’, ‘/’ );
    but the problem still .. i even tried other themes, disablinf all plugins, deleting everything on .htaccess and the same thing.. hope someone can help! and thanks!


    The problem might lie in some kind of cookie being stored incorrectly, as was with my experience. Have you tried completely wiping all traces of the website in your browser history, cache and cookie storage?

    You can also find more information by turning on the debugger through wp-config.php

    • This reply was modified 3 years, 9 months ago by mengsel.

    in the multi site latest version, if you change the site url, you must change it also in wp_sitemeta
    it happened with me and i solved it with this method.

    I had a similar problem until now and my solution was too simple. Maybe it can be of use.

    Use to check the domain. It showed me that cloudflare redirected back which caused the infinite loop. Deleting the cloudflare plugin is not enough to cap the connection. Instead, change the cryptography settings in the cloudflare menu.

    Hi I haved the same problem and I solved it changing some values in my DB…

    INSERT INTO wp_options (option_id, option_name, option_value, autoload) VALUES
    (1, ‘siteurl’, ‘’, ‘yes’),
    (2, ‘home’, ‘’, ‘yes’),
    (3, ‘blogname’, ‘mywebsite Power’, ‘yes’),

    @luisomontano Changing your website siteurl and home address to the same might help if you’re in a redirect loop because of a discrepancy there. However, I would suggest editing them directly in the database rather than using INSERT, to avoid double entries. Just browse to the corresponding row and edit its values directly. Better safe than sorry 🙂

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Possible fix for sudden redirect loop at wp-login with reauth=1’ is closed to new replies.