Title: Login redirect loop
Last modified: March 11, 2022

---

# Login redirect loop

 *  Resolved [alijens](https://wordpress.org/support/users/alijens/)
 * (@alijens)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/login-redirect-loop-10/)
 * 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](https://wordpress.org/support/users/johnbillion/)
 * (@johnbillion)
 * WordPress Core Developer
 * [4 years, 3 months ago](https://wordpress.org/support/topic/login-redirect-loop-10/#post-15450269)
 * 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](https://wordpress.org/support/users/alijens/)
 * (@alijens)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/login-redirect-loop-10/#post-15456214)
 * 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.

 * ![](https://ps.w.org/user-switching/assets/icon.svg?rev=3193956)
 * [User Switching](https://wordpress.org/plugins/user-switching/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-switching/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-switching/)
 * [Active Topics](https://wordpress.org/support/plugin/user-switching/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-switching/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-switching/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [alijens](https://wordpress.org/support/users/alijens/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/login-redirect-loop-10/#post-15456214)
 * Status: resolved