DIAGNOSIS

Your site keeps sending visitors in circles

The browser says the page redirected too many times — here's the one dropdown that fixes it for most people.

8 min read
ON THIS PAGE
SHORT ANSWER

Why does my browser say the page redirected too many times?

Two things in front of your app disagree about where your site lives, so they keep forwarding visitors to each other. Most often your domain sits behind Cloudflare set to Flexible, which knocks on your host using the insecure address while your host insists on the secure one. Change that setting and the circle stops.

Your site won't load. Instead you get a short, cold line about the page redirecting you too many times, usually with a suggestion to clear your cookies. You clear your cookies. Nothing changes.

The good news is genuinely good. Nothing you built is broken. The thing that hands out your web address and the thing that serves your pages have disagreed about where your site lives, and they are each politely sending visitors to the other one. Forever.

What does ERR_TOO_MANY_REDIRECTS actually mean?

When a browser asks for a page, the server is allowed to answer "not here, go there instead." That is completely normal. It is how your bare address quietly becomes the www version, or how the insecure version becomes the secure one.

The browser follows that instruction, then follows it again — but it is counting. After about twenty hops it gives up and tells you it has been sent in circles. So the message is not "something crashed." It is "I was sent back and forth so many times I assumed nobody was ever going to answer."

~203
Hops Chrome follows before it gives up and shows the error
103
Internal rewrites Apache allows before it stops

It rarely heals on its own. Kinsta's guide puts it plainly: unlike some other errors, these rarely resolve themselves and will probably need you to take action.4

Is it Cloudflare? (Nine times out of ten, yes)

Cloudflare sits in front of your app, and it has a setting controlling how it talks to whatever actually hosts your site. One option is called Flexible. Cloudflare's own documentation is unambiguous: Flexible sends unencrypted requests to your origin server, and redirect loops will occur if that server automatically redirects everything to the secure address.1

In plain terms: Cloudflare knocks on your host's door using the old, insecure version of your address. Your host, being modern and sensible, says "we only do secure here, go to the secure address." Cloudflare goes back round and knocks the same way again.

Almost every platform your app might sit on forces the secure version, so Flexible plus a modern host is not an occasional bug — it is a guaranteed loop. SpinupWP tells its own customers the same thing: if you are seeing this error on a site going through Cloudflare, the setting is likely Flexible.5

One caveat, because getting it backwards creates a different loop. Full (strict) requires your host to have a valid certificate. Every reputable host issues one automatically. If yours somehow does not, Cloudflare's docs note the mirror-image problem: Full set against an origin that cannot do secure connections properly loops in the other direction.1

What if I built the app with Lovable?

Lovable's custom domain documentation has a specific instruction for Cloudflare users: open your DNS settings and set the records for your Lovable domain to DNS only — the grey cloud, not the orange one — then wait a few minutes and try again.2

The orange cloud means Cloudflare is standing in the middle. Grey means Cloudflare just tells browsers where to go and then gets out of the way. With no middle layer to argue with your host, there is nothing left to loop.

A walkthrough on lovablecoding.com describes this as the error Cloudflare users hit constantly: with the orange cloud on, Cloudflare terminates the connection itself, which breaks certificate issuance and often produces the loop.6 It is not a Lovable quirk either — Cloudflare community threads from people moving sites onto Cloudflare report the same thing: proxied records produced the error, unproxied ones did not.89

What else causes a redirect loop?

You moved the domain and left the old records behind. Lovable's docs cover this directly: your DNS provider probably still has A, AAAA or CNAME records from your previous website, and you need to remove them so only the new ones remain.2 Two sets of directions pointing at two different places is a reliable way to make a circle.

You are not seeing the real state of your site. Your browser remembers redirects, sometimes aggressively, and so does Cloudflare. After any change, test in a private window, on your phone's mobile data, or both. Plenty of people fix this and then spend an hour staring at a cached copy of the broken version.

It is only your sign-in page. That is a different animal. If the loop happens just at login, your login system probably does not yet recognise the address people arrived at — a guide to Lovable custom domains lists this among the common failures after a move.7 Add the new address to the allowed list in your auth settings, including both the bare version and the www one if you use both.

How do I fix it, step by step?

  1. Open the site in a private window
    Still looping? Then it is real, not a cached copy of an earlier failure.
  2. Go grey cloud
    If your DNS is on Cloudflare, set the records for your app to DNS only. Wait five minutes. Reload.
  3. Switch Flexible to Full (strict)
    If you need the orange cloud on, change the encryption mode under SSL/TLS, then purge the cache and reload.
  4. Delete leftover records
    Look through your DNS entries and remove any stray A, AAAA or CNAME rows pointing at an old host.
  5. Fix sign-in separately
    If only the login loops, add your domain to the allowed sign-in addresses in your auth settings.
  6. Pause Cloudflare as a test
    Still stuck? Cloudflare's community guidance uses this to isolate the problem: if the loop disappears while Cloudflare is paused, the cause is in Cloudflare's settings. If it survives, it is your app or your host.10

Why did nobody tell you the site was down?

Ask yourself when you found out. Most people hit this error and learn about it from a user asking whether the site is broken — or they never learn about it, and the first clue is a quiet week.

This one is unusually cruel that way, because it only appears after you change something, and the thing you changed looked fine in the editor. The preview link worked. The real address did not.

That gap is where Fomio lives. It watches your app from outside, the way a real visitor reaches it, and tells you in plain English when it stops working — one of three things: Working, Having trouble, or Down. You paste a link and it works out what to watch. There is nothing to configure, which matters, because setting up monitoring is exactly the task that gets postponed until the week after you needed it.

When something breaks, it says what likely went wrong in words you already use. On the paid plans it goes further and writes a prompt you can paste straight into the tool you built the app with, so the next move is obvious instead of a search.

The free plan watches one app from outside, checks every five minutes, emails you when it breaks, and keeps seven days of history. No card needed. Builder watches three apps, checks every minute, writes those fix prompts and keeps 30 days. Pro watches fifteen, keeps a year, and gives your users a public status page so they stop asking you. Current prices are at fomio.ai/pricing. Being told happens by email — that is the whole mechanism today, no texts and no chat messages.

What should I do right now?

Go and change the Cloudflare setting. Grey cloud first; Full (strict) if you need the orange one on. Purge the cache, test in a private window. That is the repair, and in 2026 it still resolves the vast majority of these loops.

Then, while you are in there: the reason this one stung is that nothing told you. Worth fixing that too, once, today, while it is still annoying enough to bother.

Questions people also ask

WHERE THIS COMES FROM

  1. ERR_TOO_MANY_REDIRECTS — Cloudflare SSL/TLS documentation, 1 September 2026
  2. Set up a custom domain — Lovable Documentation
  3. How to Fix 'ERR_TOO_MANY_REDIRECTS' — OpenReplay Blog
  4. How to Fix The ERR_TOO_MANY_REDIRECTS Error — Kinsta
  5. Troubleshooting Cloudflare Issues — SpinupWP Documentation
  6. How to Connect a Custom Domain in Lovable, and Fix DNS Errors Fast — lovablecoding.com
  7. Lovable Custom Domain Not Working? DNS And SSL Fix (2026) — Self Made Newbie
  8. Too many redirects when proxying domain — Cloudflare Pages — Cloudflare Community
  9. ERR_TOO_MANY_REDIRECTS when DNS are proxied — Cloudflare Community
  10. Too many redirects how do i fix — Cloudflare Community
KEEP READING
Read this as markdown