• Resolved alijens

    (@alijens)


    I´m trying to switch to a user but I keep getting an infinite redirect loop.
    The loop is between my-account/ and profile.php according to chromes Network log. The loop occurs when I try to switch to a user.
    It does not happen for all users, only some. Most users works fine. This makes me believe that there is something wrong with some users, but I have not been able to figure out what that could be. When I look at the Users in WooCommerce I can not see that there is a difference that could cause this. The one difference I have noticed is that logging in with the users does not work either. Resetting the password does not solve the problem. I have checked that the user_login is unique in the database, since I know that this could be a problem. I have cleared the cash in the browser since this error makes it impossible to access the page if I don´t. I hope someone here has any idea on how to solve this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    If logging in regularly with their username and password doesn’t work then it’s unlikely this is related to User Switching.

    I would start by deactivating your plugins one by one — and switching to a default theme such as Twenty Twenty — to see if you can identify the cause.

    Thread Starter alijens

    (@alijens)

    Thank you for trying to help, and indeed did help. Turned out to be the plugin Force Password Change that seems to cause the To many redirects. Deactivating that plugin makes the problem go away. To bad since forcing a password change would be a functionality that is nice to have.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Login redirect loop’ is closed to new replies.