---
title: "Your site keeps sending visitors in circles"
description: "Your app isn't broken. Two things in front of it disagree about where your site lives, and here's the one-minute fix."
url: https://www.fomio.ai/blog/your-site-keeps-sending-visitors-in-circles
published: 2026-10-29T19:00:00.135+00:00
updated: 2026-10-29T19:00:00.135+00:00
topic: error-translation
words: 1893
---

# 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.

**In short:**

- Your app, your database and your code are almost certainly fine — the loop is happening in front of them.
- If your domain runs through Cloudflare, the usual culprit is the encryption mode set to Flexible.
- Switching the record to DNS only (grey cloud), or switching Flexible to Full (strict), fixes it in under a minute.
- Always test in a private window afterwards — browsers and Cloudflare both remember the broken version.
- This one rarely heals on its own, so waiting is not a plan.

### 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."

- **~20** — Hops Chrome follows before it gives up and shows the error [^3]
- **10** — Internal rewrites Apache allows before it stops [^3]

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]

> **The fix is one dropdown** — In Cloudflare, under SSL/TLS, change the encryption mode from Flexible to Full (strict). Then clear Cloudflare's stored copy of your site — Caching, then Purge Everything[^4] — and try again in a private window.

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.[^8][^9]

## 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


### Will clearing my cookies fix it?

Sometimes, but only if the loop was caused by a stale cookie on your own machine. If every visitor sees the same error, cookies are not the cause and clearing them changes nothing. The faster test is a private window: if the site still loops there, the problem lives in your DNS or hosting settings, not in your browser. Fix that, then clear caches so you can see the result honestly.

### How long should I wait after changing a DNS setting?

A few minutes is usually enough for a proxy setting like the grey cloud — Lovable's documentation suggests waiting a few minutes and trying again. Changes to the records themselves can take longer to spread. Check from a private window and from your phone on mobile data, since those are least likely to be showing you a remembered copy. If nothing has changed after an hour, something else is still pointing the wrong way.

### Is Full (strict) safe to turn on?

Yes, as long as your host has a valid certificate — and every reputable host, including the platforms that connect custom domains for AI-built apps, issues one automatically. Full (strict) is the mode Cloudflare's own troubleshooting guidance points you towards for this problem. The only time it backfires is against an origin that cannot do secure connections properly, which creates a loop in the opposite direction.

### Only my login page loops. Is that the same problem?

No, and that is good news — it means your DNS and hosting are fine. A loop confined to sign-in usually means your login system does not recognise the address people arrived at, so it bounces them back to where they started. Add the new domain to the allowed sign-in and redirect addresses in your auth settings, including both the bare and www versions if you use both, then test in a fresh private window.

### How do I find out next time before my users do?

Have something check the real public address from outside, on a schedule, and tell you when it stops answering. That is what Fomio does: paste your link, and it reports Working, Having trouble or Down in plain English, with a plain-language explanation of what likely went wrong. The free plan checks one app every five minutes and emails you, with no card required.


## Sources

[^1]: ERR_TOO_MANY_REDIRECTS — Cloudflare SSL/TLS documentation (2026-09-01). https://developers.cloudflare.com/ssl/troubleshooting/too-many-redirects/
[^2]: Set up a custom domain — Lovable Documentation. https://docs.lovable.dev/features/custom-domain
[^3]: How to Fix 'ERR_TOO_MANY_REDIRECTS' — OpenReplay Blog. https://blog.openreplay.com/fix-err-too-many-redirects/
[^4]: How to Fix The ERR_TOO_MANY_REDIRECTS Error — Kinsta. https://kinsta.com/blog/err_too_many_redirects/
[^5]: Troubleshooting Cloudflare Issues — SpinupWP Documentation. https://spinupwp.com/doc/troubleshooting-cloudflare-issues/
[^6]: How to Connect a Custom Domain in Lovable, and Fix DNS Errors Fast — lovablecoding.com. https://lovablecoding.com/blog/lovable-custom-domain-setup
[^7]: Lovable Custom Domain Not Working? DNS And SSL Fix (2026) — Self Made Newbie. https://selfmadenewbie.com/lovable-custom-domain/
[^8]: Too many redirects when proxying domain — Cloudflare Pages — Cloudflare Community. https://community.cloudflare.com/t/too-many-redirects-when-proxing-domain/350029
[^9]: ERR_TOO_MANY_REDIRECTS when DNS are proxied — Cloudflare Community. https://community.cloudflare.com/t/err-too-many-redirects-when-dns-are-proxied/581115
[^10]: Too many redirects how do i fix — Cloudflare Community. https://community.cloudflare.com/t/too-many-redirects-how-do-i-fix/418370
