HTTP Redirect Chains — 301/302 Loop Detection and SEO Impact
Warning3xx redirection
Overview
Diagnose and fix HTTP redirect chain issues including redirect loops, excessive redirects, mixed protocol redirects, and their impact on SEO and page speed.
Key Details
- A redirect chain occurs when URL A redirects to B, which redirects to C (or more hops)
- Browsers limit redirect chains to prevent infinite loops — typically 10-20 redirects max
- Each redirect adds latency: DNS lookup, TCP connection, and HTTP roundtrip per hop
- Search engines follow redirect chains but may not pass full link equity through many hops
- Common patterns: HTTP to HTTPS, www to non-www, trailing slash normalization
Common Causes
- Multiple redirect rules conflicting with each other (server config + app + CDN)
- HTTP to HTTPS redirect combined with www to non-www creating a 2+ hop chain
- Old URL redirecting to another old URL instead of the final destination
- CMS generating redirect rules that chain with server-level redirects
- CDN adding its own redirect before the origin server's redirect
Steps
- 1Use curl -IL <url> to trace the full redirect chain and identify all hops
- 2Consolidate redirect rules: ensure each URL redirects directly to the final destination
- 3Order redirect rules correctly: protocol redirect (HTTP to HTTPS) before host redirect
- 4Update internal links to point to the final URL, avoiding redirects entirely
- 5Check for redirect chains after domain migrations using tools like Screaming Frog
- 6Use 301 for permanent redirects and 302 for temporary — 301 passes more SEO value
Tags
redirect-chain301302redirect-loopseo-redirects
Related Items
More in 3xx Redirection
http-300-multiple-choicesHTTP 300 Multiple Choices — What It Means & How to Fix It
Warninghttp-301-moved-permanentlyHTTP 301 Moved Permanently — What It Means & How to Fix It
Warninghttp-302-foundHTTP 302 Found — What It Means & How to Fix It
Warninghttp-303-see-otherHTTP 303 See Other — What It Means & How to Fix It
Warninghttp-304-not-modifiedHTTP 304 Not Modified — What It Means & How to Fix It
Warninghttp-305-use-proxyHTTP 305 Use Proxy — What It Means & How to Fix It
WarningFrequently Asked Questions
More than one redirect is suboptimal. Google recommends a maximum of one redirect. Each hop adds latency and may dilute SEO link equity.