WordPress: Creating a staging version, makes the production wp-login redirect to the staging one.

I had a Redis Cache Plugin enabled for the website.

It turns out that the Redis Cache Plugin uses the table prefix as a prefix for the Redis Cache keys.

So if your staging site has a separate DB, but with the same prefix as in the prod one, the Redis Cache will get mixed up.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.