Yesterday I encountered an error on the blog that did not allow me to enter the administration panel (wp-admin) because it always redirected me to the Login page (wp-login) and from there to the main page. I noticed that something similar to â/wp-login.php?redirect_to=â appeared in the address bar and searching on Google I didnât find anything, so I had to search for life.
The solution I found was pretty simple. Simply by editing the wp-config.php file and disabling the cache. Changing:
define('WP_CACHE', true); //Added by WP-Cache Manager
By:
define('WP_CACHE', false); //Added by WP-Cache Manager
As I imagined, it was some type of problem caused by the cache (Wordpress Super Cache) to the cookies, although I donât know what or the reason.
I hope you find it useful if you also encounter this problem.