Cloudflare ERR_TOO_MANY_REDIRECTS (Flexible SSL Loop)
Quick answer
A redirect loop on a Cloudflare site is usually Flexible SSL plus an origin that forces HTTPS. Switch SSL/TLS to Full or Full (strict) and install a certificate on the origin.
Most likely fix: Change the SSL/TLS mode
How to fix it
Try these in order — the most common fix is first.
1. Change the SSL/TLS mode
- Go to SSL/TLS > Overview
- Select Full or Full (strict)
- Install a valid or Cloudflare Origin CA certificate on the origin first
Did this fix it?2. Remove conflicting origin redirects
- Check .htaccess, nginx config and app settings for forced redirects
- Never redirect HTTPS back to HTTP
Did this fix it?3. Review Cloudflare redirects
- Check Rules > Redirect Rules and Page Rules for loops between hosts
- Turn off Always Use HTTPS to test
Did this fix it?4. WordPress
- Install the Cloudflare plugin and enable Automatic HTTPS Rewrites
- Make sure Site URL and Home use https
Did this fix it?
Symptoms
Browser shows 'This page isn't working: redirected you too many times' (ERR_TOO_MANY_REDIRECTS) after adding the site to Cloudflare.
Why it happens
- Flexible mode sends HTTP to an origin that redirects to HTTPS
- Full mode with an origin redirecting HTTPS to HTTP
- Always Use HTTPS or HSTS combined with an origin redirect to HTTP
- Conflicting Page Rules or redirect rules
- WordPress URL settings
This guide also covers
- too many redirects cloudflare
- cloudflare err_too_many_redirects
- cloudflare flexible ssl redirect loop
Still not working?
If Cloudflare keeps failing, you're not alone. See every Cloudflare problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usOther Cloudflare errors
- Cloudflare Error 521: Web Server Is Down
- Cloudflare Error 522: Connection Timed Out
- Cloudflare Error 524: A Timeout Occurred
- Cloudflare Error 525: SSL Handshake Failed
- Cloudflare Error 526: Invalid SSL Certificate
- Cloudflare Error 520: Web Server Returned an Unknown Error
- Cloudflare Error 1020: Access Denied
- Cloudflare Error 1015: You Are Being Rate Limited