Redirect chains and loops can make a website slower, harder to crawl and difficult for users to reach. This practical checklist shows how to inspect a URL redirect, identify the responsible rule or platform, and replace unnecessary hops with a direct, reliable destination.
Overview
A redirect chain occurs when one URL sends the request through several redirects before reaching the final page. For example, /old-page may redirect to /new-page, which redirects to an HTTPS version, which then redirects from a non-www hostname to the preferred hostname. A redirect loop is more serious: the request keeps moving between URLs, or a rule redirects a URL back to itself, so the browser never receives a final page.
Not every redirect is a problem. A single, intentional server-side redirect is often the correct solution for a moved page, a domain change or an HTTP to HTTPS redirect. The practical goal is to make the intended path as direct as possible: one old URL, one relevant permanent redirect, and one final response.
Use this workflow when a page appears unreachable, a crawl report shows redirect chains, a browser displays “too many redirects”, or a recent migration produces unexpected destinations. Begin with the exact URL reported, including its protocol, hostname, path and query string. Small differences between http, https, www and non-www versions can point to different rules.
For a wider inspection, use a redirect checker to audit status codes, destinations and chains. It should show each response in sequence rather than only reporting the final page.
Checklist by scenario
When you find a redirect chain
- Record every hop. Write down the starting URL, each intermediate Location value, its HTTP status code and the final URL. A chain cannot be fixed reliably if only the last destination is known.
- Classify each rule. Identify whether the hop is caused by an old-page rule, HTTP to HTTPS enforcement, www to non-www handling, a trailing-slash rule, a CMS plugin, a CDN or an application route.
- Choose the final canonical destination. The final URL should be the intended, indexable version of the page, not another redirect.
- Replace the first relevant rule. If an old URL ultimately reaches the correct page through two or more hops, update the old URL to point directly to that page. Avoid deleting a rule until you have checked other URLs that depend on it.
- Retest with more than one input. Test the old URL, its HTTP version, both hostname variants where applicable, and a version with the original query string. This helps distinguish a single mapping error from a wider host or protocol rule.
A useful migration record should contain the source URL, target URL, intended status code, implementation location and test result. The guide to building a bulk redirect map for a website migration can help structure larger sets of changes.
When you find a redirect loop
- Test each protocol and hostname separately. Check HTTP and HTTPS, then www and non-www. A common pattern is for one layer to require HTTPS while another incorrectly sends HTTPS traffic back to HTTP.
- Check the response headers. Use a command-line request that does not automatically follow redirects, such as
curl -I https://example.co.uk/path. Inspect the status code andLocationheader. Repeat the request for the Location value until the repeating pair is visible. - Inspect proxy and origin settings together. If a CDN or load balancer terminates TLS before forwarding traffic to the server, the origin may see an HTTP connection even though the visitor used HTTPS. Make sure the application receives and trusts the relevant forwarded protocol information before applying an HTTPS redirect.
- Temporarily isolate rules. Review server configuration, hosting controls, CMS redirect plugins, application middleware and CDN rules. Disable or narrow one suspected rule at a time in a controlled environment, then test again.
- Clear cached behaviour only after fixing the rule. Browsers and edge systems can retain redirect responses. A clean test window, a different browser or a cache-bypassing request can help confirm whether the loop is still active.
For a focused protocol and hostname workflow, see Redirect Loop Troubleshooting: HTTP, HTTPS and www.
When the destination is unexpected
Compare the URL in the browser with the rule source. An unexpected destination may come from a broad wildcard, a CMS plugin, a domain-forwarding setting, a campaign link, or an application that rewrites paths after the server has responded. Check whether query parameters are being retained, removed or interpreted by the destination. For UTM links, confirm that tracking parameters are added once and that the redirect does not create an unnecessary intermediate campaign URL. The UTM tracking guide covers this distinction.
What to double-check
- Status code: Use a permanent redirect when the move is intended to last, and a temporary redirect when the change is genuinely temporary. Review 301 versus 302 redirects if the purpose of the rule is unclear.
- Final response: The final URL should return the expected success response, load the right content and use the preferred canonical URL. A redirect to a soft error page is not a successful fix.
- Canonicalisation: A canonical tag can signal a preferred version, but it does not replace a necessary redirect. Keep protocol, hostname, slash and case conventions consistent across redirects, internal links, canonical tags and XML sitemaps.
- Rule order: Apache, Nginx, CMS and CDN rules may be evaluated in different layers or sequences. A specific exception placed below a broad rule may never be reached. Configuration examples for common server patterns are available in the Apache versus Nginx guide.
- Method handling: Test important forms, APIs and non-GET requests separately. A page redirect that works in a browser may not be suitable for an endpoint that expects a particular request method.
- Security: Confirm that user-controlled destination parameters cannot send visitors to arbitrary external sites. Redirect troubleshooting is also a good time to review for open redirect behaviour.
Common mistakes
Fixing only the last hop leaves the original chain intact. Update the source rule or migration map so the old URL reaches the final destination directly.
Changing several systems at once makes the cause harder to identify. Record the current behaviour, make one controlled change, and repeat the request after each change.
Relying on browser appearance hides useful detail. Browsers follow redirects automatically and may cache them. Inspect headers and test with a clean request instead of judging only by the address bar.
Using a redirect to hide a broken page can create poor user journeys and misleading SEO signals. Redirect only when the destination is a close, useful replacement; otherwise review the content and response strategy directly.
Forgetting deployment differences is common when staging and production use different hostnames, proxies or CMS settings. Test the production rule set after release and keep a rollback path. For a repeatable release process, use the staging and rollback workflow for testing redirects.
When to revisit
Run this checklist before a site migration, domain change, HTTPS rollout, CMS or plugin change, hosting move, major URL restructure, seasonal campaign or QR-code campaign. Recheck it after deployment rather than relying only on pre-release tests: redirect rules can interact with production DNS, CDN caches and application settings in ways that staging does not reproduce.
For recurring audits, keep a small sample of important URLs: the homepage, high-value landing pages, recently moved pages, common 404s, campaign links and representative HTTP, HTTPS, www and non-www variants. Store the expected status code and final destination beside each URL. After every change, check for new chains, loops, unexpected external destinations and redirects that now end on an error page.
Quick audit checklist:
- Start with the exact reported URL.
- Capture every status code and Location header.
- Test HTTP, HTTPS, www and non-www variants where relevant.
- Identify the server, CDN, CMS or application rule responsible.
- Point old URLs directly to the final relevant destination.
- Confirm the final response, canonical URL, query-string behaviour and page content.
- Repeat the test after deployment and after caches have had time to update.
Keeping this record current turns redirect troubleshooting from a one-off emergency into a manageable technical SEO check. When a chain or loop appears again, you have both the expected behaviour and the evidence needed to locate the layer that changed.