Error library

ERR_TOO_MANY_REDIRECTS after adding Cloudflare

Visitors get stuck in a redirect loop, most commonly because Cloudflare's SSL/TLS mode is Flexible while the origin redirects HTTP to HTTPS. Set the encryption mode to Full (or Full strict) with a valid origin certificate, or remove the conflicting redirect.

Get this exact error fixed — $49 Quick FixFixed within scope, or we keep working until it is · Read-only access Not sure it's this error? $149 diagnosis

Cause: SSL/TLS encryption mode conflicts with origin redirects, or redirect rules conflict.

How to fix it

  1. Check SSL/TLS > Overview encryption mode.
  2. If Flexible and the origin forces HTTPS, switch to Full or Full (strict).
  3. Review Always Use HTTPS, HSTS and redirect rules for conflicts.
  4. Clear cookies/cache and test in a private window.

Example

Illustrative example, not from a customer project.

  SSL/TLS encryption mode
- Flexible
+ Full (strict)

FAQ

Why did it start after moving DNS to Cloudflare?

Flexible mode talks to your origin over HTTP; if the origin redirects to HTTPS, it loops.

Firefox shows a different message.

Cloudflare's docs mention 'The page isn't redirecting properly' as the equivalent.

QUICK FIX · $49 · THIS ERROR ONLY

Get this exact error fixed — $49 Quick FixFixed within scope, or we keep working until it is · Read-only access Not sure it's this error? $149 diagnosis

One error, one root cause, fixed in your app. If it turns out bigger, we tell you before doing more, and your $49 is credited toward the fix, diagnosis or Launch Path if you book within 14 days. Fixing three? The 3-Error Pack is $119.

Bigger job: Getting the whole app live? Launch Path, $1,195 flat.

Built with Lovable, Bolt, Replit, Cursor or v0? See rescue by platform and the security checklist.

Check it yourself first, free

$49Fix this error