Community Tip - Fixing ERR TOO MANY REDIRECTS

Error
Try the suggestions in this Community Tip to help you fix ERR TOO MANY REDIRECTS.

Background
If your SSL setting on the SSL/TLS app is Flexible and if your origin server is configured to redirect HTTP requests to HTTPS, server responses back to Cloudflare are encrypted. Since Cloudflare is expecting HTTP traffic, it keeps resending the same request, resulting in a redirect loop. This causes browsers to display “The page isn’t redirecting properly” or “ERR_TOO_MANY_REDIRECTS” errors.

Dedicated SSL

Quick Fix Ideas

  1. Remove the HTTPS redirects in your origin server.
  • Use this command to see the redirect on your origin server:
    curl -ksvo /dev/null http://example.com --connect-to ::MY_ORIGIN_IP 2>&1 | egrep -i "< location|< http"
  • Replace MY_ORIGIN_IP with the IP shown on the A record of your DNS app, replace example.com with your domain name.)
  • If you see < HTTP/1.1 301 Moved Permanently when you cURL to the origin IP, you know you have a redirect in place. You should see < HTTP/1.1 200 OK once you remove that origin redirect.
  • You can use the same cURL command to test against the Cloudflare edge using the public IP of your site, find that using $ ping example.com. If you have set to Always use https, you’ll receive a reply of HTTP/1.1 301 Moved Permanently showing the redirect is in place.
  1. To ensure all requests between the browser and Cloudflare are encrypted, you can use an Always Use HTTPS page rule and that way avoid a redirect loop.

  2. If you host a Wordpress site, read about potential issues with Flexible SSL.

  3. Enable Full or Full (Strict) mode. Learn more about all the SSL options available through Cloudflare.

Lite Reading
https://support.cloudflare.com/hc/en-us/articles/115000219871-Troubleshooting-redirect-loop-errors

Background Resources
Help Center
YouTube

Research The Issue
Community
Google

If You Need More Help
This community of other Cloudflare users may be able to assist you, login to Cloudflare and post your question to the Community. When you post on the Community make sure to include as much of this information as possible: the specific error message you are seeing, the URLs this is happening on, screen shot of the error, and the steps to reproduce the error. Please indicate what troubleshooting steps you’ve tried in order to help us help you.

Expert Comments Appreciated
This Community Tip will remain open for input from Community experts and those familiar with this issue. We really appreciate comments that start with words like: “The three things I always try”, or “Do this first” or “In my experience”.

This is a Cloudflare Community Tip, to review other tips click here.

Çevirme…traduzir…翻译…traducir…Traduire…Übersetzen…:greyg: Translate this Tip

FXRDCT 101819

15 Likes
ERR_TOO_MANY_REDIRECTS after reset wordpress
Too many redirects 2
Home Page is trapped on redirect loops :(
Redirected issue
How long to propagate?
ERR_TOO_MANY_REDIRECTS when proxy enabled
Too many redirects problem
Ma chatbox est longue
HTTP ERROR 500 bounty-stresse
My site is still insecure (no https)
To many redirects error on domain
Frazzled having to try to fix four domains
Where is my website!?
I have activated my free ssl on cloudflare but after one day it shows me error
Hi my site is out msg: ERR_TOO_MANY_REDIRECTS
My site wont upload
Cambio de servidor
Taking too long for Free SSL Authorizing Certificate
How to fix ERR_TOO_MANY_REDIRECTS?
Site isn't working after pointing nameservers to Cloudflare trying to add SSL
PageSpeed and page redirections
Site no working. Help, please. speak english wery little
Slow DNS propagation?
Hola, me pueden ayudar? problema con SSL
Stoopid Newbie
Many redirects
Website down after chaging the dns to cloudflare and reverting it back
My site wont respond
Cambiar SSL (otro proveedor) a SSL Cloudflare
Error 525 Showing On Browser
Help Please: Connection to site not secure message
My Site is Offline for Multiple Redirects
My website is unreachable after changing SSL to FULL
How to have site SSL and Cloudflare working
I have disabled flexible Cloudflare I can not get in
Switched to Cloudflare, now root domain name and subdomain do not work
Community Tip - All Published Tips
Cloudflare settings for prestashop?
Err Too Many Redirects A AAAA records for both Root and Subdomain
Ideas about log in issue
Certificate has not enough info to verify
2 redirects to HTTPS
The site is not working after using the nameservers of cloudflare
My wordpress website cannot load after trying to install cloudflare ssl certificate
HTTPS certificate not trusted
SSL not working on domain
Error too many redirects
Why isn't my website working?
The ERR_TOO_MANY_REDIRECTS issue - some additional info
Err_too_many_redirects 1
Cant access my website after installing free SSL from your website
This page isn’t working | ERR_TOO_MANY_REDIRECTS
Site wont load "xxx.xxx redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS"
Adding Subdomain wont work although cname was set
Website is not loading
Website's Bumpy
Problem with blogger and cloudflare: I can't enable automatic redirection of blogger https
Error 503 Service Unavailable and ERR_TOO_MANY_REDIRECTS
Site not reachable. Correct DNS setting?
ERR_NAME_NOT_RESOLVED - server IP address not found
Activated Certificate: Website still not secure
Changed my DNS - my website is not live
Problem with dns to Cloudflare
Not Able To Sign In The Back End Of My Website
Website is not working
Caching a White-labelled System
Https is not activated My site
My Subdomain DNS is not updated
Cannot Login Wordpress After Changing Servers
"err_too_many_redirects" website error
Subdomain works, but I have no access to Wordpress Admin
DNS settings changed, but A Records are broken
Website block
Two DNS IP's?
My website is not opening after update of cloudflare Nameserver in my hosting
522 Error redirect
SSL handshake failed - Error 525
Subdomain mapping not reflecting in Url
Shopify - I Need To Disconnect My Shop. site from Shopify
Purging Cash - 520 Error
New WordPress Plugin Update Crashed Site
Blog.facilsistemas.com.br
SSL Doesn't work for FreshDesk
A record is different from dnschecker.org
Cannot Access to my wordpress site after switching to https (SSL issue)
After setup free cloudflare for ssl and cdn email not receiving
Can anyone help me, I'm having problems with a wordpress multisite
Changed nameservers and now my sites down
Changed nameservers and now my sites down
The page isn’t redirecting properly
Page rules setup
Https://birdss-moneyy.ru/
Site Down, DNS Not propogating. Help!
Error too many redirect
Redirect Loops and Redirect Chains
SSL URL Loop
Strange double IP situation
Domain redirected you too many times
Why flexible SSL mode is not the best choice
need help with page rule
Nameserver change issue
Domain Transfer, SSL and Email
Error While Adding DNS
ERR_TOO_MANY_REDIRECTS issue
Proxied Cloudflare to Plesk
WP-Admin not working
Сайт rebenok-okno.ru выполнил переадресацию слишком много раз
Constant ERR SSL VERSION OR CIPHER MISMATCH error
Site Down Due To Too Many Redirects
Too many redirects on "My Account Page"
Status active but site not working
Help With ERR_TOO_MANY_REDIRECTS
Too many redirects SSL certificate
SSL don't work
Error 1014- delete CNAME?
My site down?
Problem with Fruition - Notion Website
Can’t access my wordpress site
WEBSITE ERROR please help
How to resolve ERR_TOO_MANY_REDIRECTS
Added a New Website to CloudFlare
Ssl not working in my site
DNS Cname record not mapping correctly
I don't know how to create CA Bundle/Intermediate certificate
Too many Redirects and 403 errors
Www.dubaistoragespace.com/
Ssl not working if i am pointing my dns to cloudflare
ERR_TOO_MANY_REDIRECTS using origin ssl
Too Many Redirects and fbclid
Litespeed cache works but after some time site gets to redirect into redirect loop
Site is down: Too many redirects error
ERR_TOO_MANY_REDIRECTS with binding cookie on Chrome
Unable to Access WordPress Dashboard
Sub domain on a different ip does not resolve when proxied but does when not proxied
Too Many Redirects Errors with a Specific Data Center
Cloudflare with Backblaze bucket infinite redirects
ERR_TOO_MANY_REDIRECTS ayuda
Need help in Proxy status
Recently transferred to Cloudflare - cannot access my site
Wordpress on http on Cloudflare https
My website not working since since 4 days
/wp-content/cache/all/index.html error
Page Rule Redirect - Too Many Redirects
Wp-admin area not loading
该网页无法正常运作,尝试清除cookie
Cloudflare Plugin has locked me out of my sites
How to fix "too many HTTP redirects" and "Load cannot follow more than 20 redirections" errors
Resolve redirect loop (too many redirects) errors
Debugging redirect loop errors that only appear when Page Rule is 'Cache Always'
Domain keeps redirecting to a random site
Problems loading the web page
Getting ERR_TOO_MANY_REDIRECTS when the connection is proxied
I am so pissed Drupal and Cloudflare
DNS proxy proxied error
Community Tip - Alle veröffentlichten Tipps
DNS not propagating after running DNSSEC "disabled..."
DNS not propagating after running DNSSEC "disabled..."
Community Tip - 公開されているすべてのヒント
Moved Domain
Friends say my domain is redirecting too much
New site added but not working.. What am I missing here?
/wp-admin is not working on cloudflare
Entering Cloudflare Nameservers crashes site
Worker redirect loop even after service is destroyed
Too many redirects - Can't access website
520 error if I log in
Unable to visit domain with prefix
Causes of Origin Server Returning Error 503 and How to Fix it?
Main domain redirection and/sub domain
Cannot resolve too many redirects
Access + Github Auth - Too Many Redirects
Site is down: Too many redirects error
Open Link WP-admin
Full SSL not working (Too many redirects) and Flexible working with https, but not on IOS
Account Dash Ticket - SSL Edge Universal expired. Place order certificate button is not active
Wordpress Cronjobs giving off "Too Many Redirects" errors
Proxy suddenly caused errors opening web pages
Website is not loading after I updated my nameservers
New 525 Error
Too Many Redirects- website
Error 526 when visiting site or too many redirects
Cannot resolve too many redirects
Managed wordpress site too many redirects
ERR_TOO_MANY_REDIRECTS on Zero Trust Access
Not able to turn off ssl for a subdomain only while leave on the rest
Created 3 subdomain A records on CloudFlare, only 1 works as expected
Cloudflare blocking my rest api request
Further thoughts on "too many redirects" issue
Moved Domain
Invalid SSL certificate *
Too Many Redirects Access application when Zaraz enabled
Wordpress.com - Cloudfare - To many recdirects
Basic Records For a Website & Emails
Help me please too
Website down - lost Name Server control
How can I have CF just service DNS and really nothing else?
My website sometimes work fine and sometimes i have this msg just after setup cloudflare server
My problem please Solve
Google sites and CLOUDFLARE DNS
Access + Github Auth - Too Many Redirects
525 handshake failed
My site isn't opening! But sometimes is
'site redirected you too many times' error in Wordpress customizer using proxy
Cloudflare DNS IP Change Doesn't Work and Just Redirects
Disable SSL on a specific page
Error - kruegercrew.com redirected you too many times
Redirection with DNS?
Redirection with DNS?
Website not appearing
SSL doesnt work
New (wordpress) subdomains displaying 404 Not Found
Unable to open website
*.cloudflareaccess.com redirected you too many times. To fix this issue, try clearing your cookies. ERR_TOO_MANY_REDIRECTS
Page does not work without www [shopify]
Cannot setup cloudflare tunnel with Full(strict)
How to block all connections other than Cloudflare on port 80 through tunnel?
"A" record does not update correctly - TXT does not update at all
"A" record does not update correctly - TXT does not update at all
Custom domain doesn't seem to work
Error 521: Webserver is down, but webserver is up (and only 1 domain not working?)
*.cloudflareaccess.com redirected you too many times. To fix this issue, try clearing your cookies. ERR_TOO_MANY_REDIRECTS
/admin-ajax.php net::ERR_TOO_MANY_REDIRECTS
ERR_TOO_MANY_REDIRECTS error message on website
ERR_TOO_MANY_REDIRECTS error message on website
Cloudflare on Wordpress.com site isn't showing Twitter preview
Website not working after changing NS
Error to many redirects
My Website Not Opening Showing Error - Website Redirected to Many Times
I can't understand why my side have errors. DNS | nameserver maybe
New website in Cloudflare is offline
My website is down?
Creating CNAME record on free plan
My site have SSL already
WPEngine SSL
New website in Cloudflare is offline
Http/ https loop
Connection redirected to many time
Endless Redirect Loop (Premium SEO Pack and WPML conflict)
**redirected you too many times.**
Redirects broke my site
Orange / grey cloud in DNS
Redirection loop
Не работает сайт!
Unable to access wp-admin after SSL added - too many redirects
Forced HTTPS even when SSL disabled
Unavailable domains after changing DNS
Redirect URL, unless WARP for Teams is active