Disabled Cloudflare plugin - now my website is not working


I’ve been experiencing some issues with Cloudflare and Autoptimize on my website so I wanted to temporarily disable the Cloudflare plugin in Wordpress. When I did, I immediately got an error saying that the website has too many redirects. Now I can’t access the website nor /wp-admin to re-activate the plugin!

I’ve tried editing wp_options and active_plugins to no success and also moved /cloudflare to /mu-plugins but nothing seems to help.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Instead of restoring an older droplet. The best thing to do is to activate the plugin from the console using the Wordpress CLI.

I’ve done this a few times. And it brings my website back without the loss of any work carried out. You will just have to set up the Cloudflare Plugin again.


Hi, same issue, when i deactivate plugin, my site return a error message “too many directs”… at the moment I’m switching my godaddy nameserver back to the default… anyone has been able to resolve the issue?


When you’re using CloudFlare + SSL, you need to login to CloudFlare, head to the SSL tab and make one quick change. You need to set SSL to Full (Strict). That’ll fix the redirect issue.