errors 2026-11-28

How to Fix ERR_TOO_MANY_REDIRECTS After Enabling HTTPS & Cloudflare (2027)

How to Fix ERR_TOO_MANY_REDIRECTS After Enabling HTTPS & Cloudflare (2027)
Quick Answer: ERR_TOO_MANY_REDIRECTS after installing SSL happens when Cloudflare is set to Flexible SSL (sending plain HTTP to your server) while your server forces HTTPS 301. Fix it immediately by installing a valid SSL from TryFreeSSL.com on your origin server and switching Cloudflare SSL/TLS mode to Full (Strict).

Why Does the HTTPS Redirect Loop Happen?

When a visitor opens https://yoursite.com through Cloudflare Flexible mode, Cloudflare connects to your hosting server over unencrypted HTTP (port 80). Your origin server sees HTTP, applies its .htaccess or WordPress redirect to https://, and sends it back to Cloudflare—creating an endless loop.

3-Step Permanent Fix

  1. Switch Cloudflare to Full (Strict): Open Cloudflare Dashboard → SSL/TLS → Overview and select Full (Strict). (Requires a valid SSL certificate on your hosting—generate one free at TryFreeSSL.com; see our Cloudflare SSL Guide).
  2. Use One Clean 301 Redirect Rule: Remove duplicate redirect plugins in WordPress and generate a single clean Apache/Nginx rule using our HTTPS 301 Redirect Generator:
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  3. Verify Headers & Status Codes: Test your domain with our SEO & Redirect Checker and Security Headers Scanner to ensure a single clean 301 → 200 OK hop.

Frequently Asked Questions

Do I also need to change WordPress Site URL? Yes—in WordPress Admin → Settings → General, make sure both WordPress Address and Site Address start with https://.

Can Cloudflare Error 525 happen with Full (Strict)? Only if your origin server lacks a valid SSL certificate—install one from TryFreeSSL.com or read our Error 525 Fix.

✅ Post-Installation Verification & SEO Checklist

After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:

  • Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
  • Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
  • Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
  • Confirm both root and www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.

Certificados SSL Grátis, Verificador SSL e Gerador CSR

Emita certificados SSL Let's Encrypt e Buypass confiáveis em 60 segundos.

Related Articles