EE Redis Cache does not work


#1

I am using redis as a cache on the site https://www.namidia.net.br, when I try to access wp-admin, it shows that I am not allowed to access after the login attempt (No permission to access this page.).

When I disable redis and nginx helper, it works normally, has anyone ever had it?


#2

There should be a line near to the end of wp-config.php with:

define( 'WP_CACHE_KEY_SALT', 'namidia.net.br:' );

Move this line to the beginning of file, in order to be above the “stop editing” comment.

What happens is WP and REDIS lose sync because WP never interprets such define if it is wrongly positioned inside the configuration file (that’s why moving it more to top of file usually fixes this behavior).


#3

Show! Sorted out. Thank you very much.


#4