Quick answer
If your browser says too many redirects, open the exact link in a private window. If it still fails, record the sequence of addresses the server sends you through. A loop looks like A → B → A. Find the rule that sends visitors back to an earlier address, then test a small correction before changing the live site.
If you land on an address that actually returns 404, follow the deployment 404 guide. A redirect loop keeps moving you between addresses without reaching the page.
Start with the link that fails
Copy the link you actually gave visitors, including its path. Check the homepage separately. Write down whether one link fails or several do. That gives you a starting point without assuming the problem is site-wide.
If you use both a custom domain and a public hosting address, open the same page on both. A working hosting address and a failing custom domain can narrow the investigation. They leave open which rule or service is responsible.
Read the redirect chain
A redirect is an instruction to open a different address. For an HTTP redirect such as a 301 or 302, the response’s Location header gives the next address. In a desktop browser, open developer tools and select Network. Enable Preserve log or its equivalent, clear the log, and open the failing link again. Read the page requests in order. Select a redirect to see its response headers.
You can also ask your coding assistant to do the read-only check:
Trace this public URL: [paste the exact link]. Follow at most ten HTTP redirects. For each hop, list the requested address, status and Location header. Tell me where it stops or which address repeats. Don’t change any settings or files.
A local practice example uses two fictional paths:
| Request | Result |
|---|---|
| /start | 302 to /welcome |
| /welcome | 302 back to /start |
| /start again | Same address repeats |
A short sequence that ends at the intended page is normal. If you see no HTTP redirects but the browser keeps navigating, record what it does and ask your assistant to look for a page script or an HTML refresh. The MDN redirects guide explains these different mechanisms.
Fix only the confirmed conflict
Write down the one address visitors should reach. Ask your assistant or host to identify which rules produced the two conflicting hops. Check redirects in your site or hosting service first. If you use a proxy such as Cloudflare, the redirect rules and HTTPS settings can also interact with those at the host. See Cloudflare’s redirect-loop troubleshooting guide.
In the example, /welcome is the intended page. Keep the rule from /start to /welcome and correct the rule that sends /welcome back. Save a copy of the settings before changing anything. If you cannot tell which layer owns a rule, send your host the chain and intended destination. Avoid switching DNS or weakening HTTPS to see what happens.
Check what visitors now see
Open the original link in a fresh private window. It should finish on the intended page, with the expected content and no repeated address. Open the final address directly too. Check one nearby link to make sure the change didn’t affect a working page.
Start with one repair you can undo. If the site is already live, use the safe update checklist to preview and verify the change.