How do I fix a broken /wp-admin.php site in Wordpress?
While we were working on optimizing the page speed, we have deactivated the plugin "Cloudflare Flexible SSL" to check if any improvements in the speed and immediately the site doesn't get loaded up.
The home page is not loading ( ERR_TOO_MANY_REDIRECTS ) and we cannot access the WP admin dashboard. Is there a way to activate the plugin again and bring the site up?
2 Replies
If you are looking specifically to re-activate that plugin you disabled, you could do it by installing Wordpress CLI on the server, and then you can run the Activate Plugin command.
Another option would be to focus on the "Too Many Redirects" error that you are seeing on the site. I'd suggest working through this tutorial to make change to your wordpress configuration files directly via SSH or FTP. Specifically, I would suggest looking at Change Site URL Without Access to Admin Area as well as their De-activating all plugins guide.
"ERR_TOO_MANY_REDIRECTS" sounds like an Nginx configuration issue that I had years ago.
But sorry I can't remember how I resolved it.
Maybe I commented out "server_names_in_redirect" ?