• Resolved markthewebdev

    (@markthewebdev)


    Hi! So i only recently started making websites in wordpress, and it was all going good until i got a login loop redirection error. So everytime i try to login to wp-admin it just loops me to the login back and forth and this is the url
    https://www.familyproperties.eu/login/?redirect_to=https%3A%2F%2Fwww.familyproperties.eu%2Fwp-admin%2F&reauth=1
    I have tried multiple fixes, yet none of them work. I tried clearing the sessiontokens, nothing. Tried clearing my browser cache and cookie multiple times, nothing. Added this to my .htaccess file via ftp

    <Files login.php>
    Order Deny,Allow
    Deny from all
    Allow from all
    </Files>

    still nothing. I believe I’ve tried more than that, but yet again, nothing. So i can only login via incognito but i have to change reauth=1 to reauth=0 and every couple of minutes the session expires and i have to relogin. I’d really appreciate it if anyone could help me.

    Kind regards,
    mark

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter markthewebdev

    (@markthewebdev)

    Guys! I Believe i have found a fix! It is a faulty plugin with the name of Code Snippets i will update you if that is the error!!!!

    EDIT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    It was my own snippet :facepalm: thx for help

    • This reply was modified 4 years, 3 months ago by markthewebdev.
    profritualby

    (@profritualby)

    Hi! My problem with login loop redirection was solved when I filled in the check box “remeber me” (site https://profritual.by/) . After that I managed to sign in. May be it will help you too.

    Most likely CACHING ISSUE

    On Chrome, use “CLASSIC CACHE KILLER” extension it should work for you so you can login.

    Things that help with this issue
    – problem with your SALT keys in wp-config.php
    => try deleting them, see if it fixes problem
    => then update them
    – server cache needing purge
    – on Cloudflare / caching: reduce Browser Cache TTL to 5H and clear cache

    Just adding my findings here for posterity. I encountered the same issue and eventually figured out it was caused by the ID and unmeta_id columns in the wp_users and wp_usermeta tables, respectively, NOT set to auto increment. Enabling auto increment on those two columns solved the issue.

    Thank you @alphamobility!!! I’ve tried 50 other things, but it was the SALT keys. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I need a reauth=1 fix!’ is closed to new replies.