Redirect loop
ERR_TOO_MANY_REDIRECTS: how to fix a redirect loop
The short answer
Your page never loads because it keeps bouncing between two addresses. Two rules disagree about where visitors belong, and the job is to find both and keep one.
- Backup before every change
- Fixed price before we start
- Remote, anywhere in the world
- Free first diagnosis
You can see the loop yourself: run curl -IL https://yourdomain in a terminal and watch the Location lines repeat. Browsers stop after a fixed number of hops, Chrome after about 20. Clearing cookies helps only when a stored cookie or cached 301 is part of the loop. If the problem started right after you enabled SSL, switched on a CDN or moved the site, the cause is almost always in that change.
Sound familiar?
How ERR_TOO_MANY_REDIRECTS shows up
- Chrome shows “This page isn’t working. example.com redirected you too many times” with ERR_TOO_MANY_REDIRECTS
- Firefox shows “The page isn’t redirecting properly”, Safari “Too many redirects occurred”
- It started after enabling SSL, moving to https, switching on Cloudflare or migrating the site
- Only the admin area, the login page or one language loops, while other pages load
- The address bar flickers between http and https, or between www and non-www
Causes
What causes ERR_TOO_MANY_REDIRECTS?
http and https redirect each other
One rule sends visitors to https, while another layer, such as a proxy that reports every request as http, sends them back. The site never sees that the request is already secure.
www and non-www conflict
The hosting panel redirects to www, while the CMS or .htaccess redirects to the version without www, so each sends the visitor to the other.
CDN in Flexible SSL mode
Cloudflare Flexible connects to your server over http. If the server forces https, it redirects every request, and Cloudflare asks again over http, which creates a loop.
WordPress site address mismatch
siteurl and home in WordPress use http or a different hostname than the server enforces, often after a migration or after installing an SSL plugin.
Conflicting redirect rules
Rules in .htaccess or nginx, a redirect or SEO plugin and the hosting panel all try to redirect the same address, sometimes after a page or language URL was changed.
A cookie or cached redirect
A login, language or consent cookie, or a cached 301 redirect in the browser or CDN, keeps sending visitors to an address that no longer exists.
Try it yourself
Breaking an ERR_TOO_MANY_REDIRECTS loop yourself
These checks narrow down where the loop is. Start with the first two, they cost nothing.
- 1 Open the site in a private window or another browser. If it works there, clear cookies and cached data for your domain only.
- 2 Run curl -IL https://yourdomain in a terminal, or use an online redirect checker, to see the chain of addresses. The two addresses that repeat show the loop.
- 3 If you use Cloudflare, check SSL/TLS: Flexible is a common cause. Switch to Full or Full (strict) if your server has a valid certificate, and check Page Rules or Redirect Rules for https or www redirects.
- 4 On WordPress, check that siteurl and home in wp_options (or WP_HOME and WP_SITEURL in wp-config.php) use the exact address you want, including https and www or not.
- 5 Look in .htaccess for duplicate “RewriteRule” lines that force https or www, and check whether the hosting panel also forces https or www. Keep one place, not two or three.
- 6 Temporarily rename the folder of a redirect, SSL or SEO plugin in wp-content/plugins and test again. If the loop began after a change, undo that one change first.
Our approach
How we fix ERR_TOO_MANY_REDIRECTS
-
1
You tell us which address loops
Use the form or chat, and mention any recent change such as SSL, a CDN or a migration. We reply with the access we need.
-
2
We back up first
We save the current .htaccess or server config, CDN rules, files and database so every change can be undone.
-
3
We trace the loop and quote
We follow the redirect chain step by step to find which two rules conflict, and send you a fixed price before fixing it.
-
4
We fix, test and report
After your approval we keep one clear redirect rule, test http, https, www and non-www, and send a short report of what changed.
What we need
What we need from you
- Login for your hosting control panel, or SFTP/SSH access
- CDN or Cloudflare access, if you use one
- A CMS admin login, or database access if wp-admin itself loops
- The address that loops and what changed just before it started
We ask only for the access that is needed, use separate credentials per client, and you can revoke them once the site loads normally.
What we cannot fix
We cannot change redirects on a platform or CDN account nobody can give us access to, fix outages at your host or CDN, or remove a permanent redirect already cached in a visitor’s own browser. In that last case we make sure the site is correct, and the cached redirect clears for visitors over time or when they clear their cache.
Price
Price and what happens next
-
1
Free diagnosis
We find the cause and tell you what is wrong.
-
2
Fixed price
You get a price and a time estimate. Nothing starts without your yes.
-
3
Fixed and reported
We repair it, test it and send a short report.
From €295 excl. VAT
Fixed price, agreed before we start
Is it urgent? Say so in the form or in the chat. We start as soon as we can and give you a realistic time estimate with the quote. If priority work costs extra, you see that in the quote before you agree.
Get it fixedQuestions?
ERR_TOO_MANY_REDIRECTS: frequently asked questions
Also see
Related problems
SSL certificate error
“Your connection is not private” means the browser does not trust the SSL/TLS certificate your site presents. On a site that worked before,...
Read more →WordPress login problem
When WordPress login is not working, the password is often not the problem. The most common cause is a login page that reloads because the s...
Read more →Website down
A website is down when the server cannot deliver your pages to visitors. The most common causes, in order of likelihood, are an expired doma...
Read more →Written by the IT bugsolutions team · Last updated:
Request
Tell us what is wrong
Answer a few short questions. You get a fixed price before we do anything.
Thank you for your request!
We will contact you shortly
An error occurred!
Please try again.