Clear Redis cache from the command

I’d usually clear the Redis cache from the WordPress dashboard, but in case I can’t access it, it can also be done from the command line:

I used this to resolve a strange wp-admin URL redirect loop after upgrading WordPress and rebooting the server (after apt dist-upgrade):

 


Posted

in

by

Comments

Leave a Reply

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