Fix too many redirects after deactivating Cloudflare WordPress plugin

The problem

I noticed that when I opened the main Cloudflare plugin page on my WordPress site, I got an error spinner. I thought maybe I should deactivate the plugin and reactivate it to fix the problem.

But that was a mistake. Because it then resulted in a “Too many redirects” error when I tried to access my site, effectively locking me out of wp-admin as well.

The fix

How to get back in to your WordPress site
  1. Sign in at
  2. Select the site you want to fix.
  3. Click the SSL/TSL icon at the top of the page.
  4. For Your SSL/TLS encryption mode, click Full.

You should now be able to access your WordPress site and wp-admin.

How to get the Cloudflare plugin working again

Next up, reactivate the Cloudflare plugin and sign in.

  1. In your WordPress site, go to the Plugins page. For Cloudflare, click Activate. Then click Settings.
  2. Sign in with your Cloudflare credentials.
  3. Enter your API key. Here’s where to find it:
    • On your WordPress site’s page at, click the Overview icon at the top of the page.
    • Scroll down to the bottom of the page and click Get your API token.
    • Click API Tokens at the top of the page.
    • For Global API Key, choose View.
      If a 403 Forbidden error appears, click your browser’s Back button.
    • Click View again. Your key should then appear. Copy and paste it in WordPress.
  4. You should now be signed in to your WordPress Cloudflare plugin.
  5. For Apply Recommended Cloudflare Settings for WordPress, click Apply.

Everything back to normal!

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: