WordPress password reset not working (infinite loop)

Man opening combination bike lock

Share This Post

So, your website is all good and ready, and visitors are pouring in. Congratulations! Everything looks to be in order until someone tries to reset their password…

It is not the first time I’ve seen this, so don’t worry – you may be able to rest easy after this quick article.

It may turn out to be something more complicated, but in my experience, most times it all comes down to a straightforward culprit: Caching.

WordPress is a great platform, and most of the features that you need (user management, user posting, password recovery, etc.) are all already included.

So why isn’t it working, you may ask.

If you are using a Caching plugin like W3 Total Cache, or if your hosting provider does Caching automatically for you, two pages need to be excluded from the cache.

The pages in question are: “my-account” and “lost-password”.

To fix this issue try the following steps (create backups before you do anything, of course):

If you have a Caching plugin

  1. Disable your Caching plugin and test the Reset Password functionality. If it works, then you can be sure the issue resides there.
  2. Go into your Caching plugin’s settings and exclude the “my-account” and “lost-password” pages from the Cache.

If your host handles Caching for you

  1. Ask your hosting provider to disable Caching on your site temporarily. If that works, then the issue may reside with your host’s Cache.
  2. Ask your hosting provider to exclude the “my-account” and “lost-password” pages from the Cache. Or just tell them what the issue is and they may already know what to do.

In my case, with WP-Engine (who BTW have magnificent support 24/7), I just told them what was happening, and their team knew what to do. They added the rules to Nginx, and the problem went away in seconds.

In summary, don’t be afraid to ask your hosting provider for suggestions on how to fix something that WordPress should do out of the box. Their willingness to help might surprise you!

Did you have this issue on your site? How did you resolve it? Comment below!

Subscribe To Our Newsletter

Receive new articles and tips via e-mail.

More To Explore