Redirect chains: how they slow pages and waste crawl budget, and how to fix them
Four redirects before a page loads is common after a few migrations. How to measure what a chain costs, and how to rewrite the rules so every old URL takes one hop.

On this page▾
A redirect chain is a URL that redirects to another URL, which redirects again, before the browser reaches the final page. Each extra hop is another request the browser must finish before it can load anything, and another URL a search engine has to fetch. Google's crawlers follow up to 10 hops; past that, Search Console reports a redirect error and the target is not reached from that URL. Long before that limit, chains slow down real visitors, especially on mobile connections. Nearly always, the fix is to make every old URL redirect straight to its final destination in one hop, and to point your own links at the final URL so they skip redirects entirely.
- Every hop costs at least one network round trip. A hop to a different hostname can add a DNS lookup, a new connection and a TLS handshake.
- Google's crawlers follow up to 10 hops, and Google's site-move guide suggests ideally no more than 3, and fewer than 5.
- Most chains come from rules layered over time: HTTP to HTTPS, then non-www to www, then a trailing slash, then an old path to a new one.
- Fix chains by pointing every source URL directly at the final URL, keeping the old redirects in place, and updating internal links, canonicals and sitemaps.
What a redirect chain looks like
Here is a typical one, from a site that moved from example.com to www.example.com, switched to HTTPS, added trailing slashes and later renamed a page:
http://example.com/pricing 301 → https://example.com/pricing 301 → https://www.example.com/pricing 301 → https://www.example.com/pricing/ 301 → https://www.example.com/plans/ 200 (final page)
Four redirects before the page. Each rule made sense when it was added, and nobody tested them together.
You can see this yourself with curl:
curl -sIL http://example.com/pricing | grep -iE "^(HTTP|location)"
-I asks for headers only, -L follows redirects, and grep keeps each hop's status line and Location header. (-I sends a HEAD request; a few servers redirect HEAD differently from GET, so if the result looks odd, repeat with -o /dev/null -w "%{url_effective}\n" and without -I.) Our redirect chain checker shows the same in a browser, with the status code, target and time for every hop.
How redirect chains slow pages down
A redirect is a complete HTTP response with no page in it. The browser has to receive it, read the Location header and start a new request, and nothing on the page can load until the last hop returns a 200.
What each hop costs depends on where it goes:
- Same host, for example
/pricingto/pricing/: one round trip, because the connection is reused. - Different host, for example
example.comtowww.example.com: a DNS lookup for the new name, a new TCP connection and a new TLS handshake before the request itself. On a mobile connection that is several round trips. - HTTP to HTTPS: the first request goes over plain HTTP, then everything starts again on HTTPS.
Redirect time counts towards Time to First Byte, which web.dev's TTFB guide defines as including redirect time, and every later loading metric, including Largest Contentful Paint, starts after it. Lighthouse used to report this as "Avoid multiple page redirects"; since Lighthouse 13 it is part of the document request latency insight, which flags a page that was redirected at all.
You can measure the cost directly:
curl -o /dev/null -sL -w "redirects: %{num_redirects} redirect time: %{time_redirect}s total: %{time_total}s\n" http://example.com/pricingRun it against the old URL and the final URL and compare the totals. The difference is what the chain costs every visitor who arrives through it.
How redirect chains affect crawling and indexing
Google's documentation on HTTP status codes says its crawlers follow up to 10 redirect hops, and that if content is not received within those hops, Search Console shows a redirect error. The Page indexing report lists "a redirect chain that was too long" among the causes of that error.
Short of that limit, chains still cost something:
- Crawl budget on large sites. Every hop is a request. Google's crawl budget guide is aimed at sites with roughly a million or more pages that change about weekly, or 10,000 or more that change daily, and says those are not exact thresholds. On sites that size, thousands of internal links that each pass through two or three redirects waste a lot of fetches.
- Slower discovery. If the old URL is crawled rarely, Google learns about the new destination late.
- Weaker signals. A chain that includes a temporary redirect tells Google the move may not be permanent.
How many redirect hops is too many?
Google's site move guide recommends avoiding chains and suggests keeping them to ideally no more than 3 hops and fewer than 5. Some SEO guides say Google stops after 5 hops; Google's own documentation says 10. For visitors, the right number is one hop from any old URL, and zero for links you control.
Which redirect status to use
Google's HTTP status code documentation describes permanent redirects as a strong signal that the target should be canonical, and temporary ones as a weak signal.
| Code | Meaning | Use it for |
|---|---|---|
| 301 | Moved permanently | Renamed pages, domain moves, HTTP to HTTPS |
| 308 | Permanent redirect that keeps the request method | The same as 301, when a POST must stay a POST |
| 302 | Found (temporary) | Short-term moves, such as a page under maintenance |
| 307 | Temporary redirect that keeps the request method | The same as 302 for non-GET requests |
According to Google's redirects guide, an instant meta refresh is treated as permanent and a delayed one as temporary, and JavaScript redirects are seen only after the page is rendered. Both are slower for visitors than a server redirect, because the original page loads first, so use server-side redirects where you can.
How to fix redirect chains, step by step
1. Find them
Start with the URLs that matter most: pages with backlinks, pages in your sitemap, and pages your navigation links to.
- Run an SEO crawler with redirect reporting on. Most have a "redirect chains" report listing every URL that needs more than one hop.
- Check your most-linked pages from your backlink tool, since external links are the ones you cannot edit.
- Test the four versions of your homepage:
http://andhttps://, with and withoutwww. Each should reach the final homepage in one hop at most.
2. Point every source straight at the final URL
The goal is one hop from any old URL to its final URL. For host and protocol rules, that means one combined rule. In nginx:
server {
listen 80;
listen 443 ssl;
server_name example.com;
return 301 https://www.example.com$request_uri;
}
server {
listen 80;
server_name www.example.com;
return 301 https://www.example.com$request_uri;
}Both http://example.com and https://example.com now go to https://www.example.com in one step. The listen 443 ssl block also needs certificate directives for example.com, left out here. The same in Apache's .htaccess:
RewriteEngine On
RewriteCond %{HTTPS} off [PageRipple]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.example.com%{REQUEST_URI} [L,R=301]For page-level redirects, update the old rules when you add a new one. If /pricing already redirects to /pricing/ and the page now moves to /plans/, change the existing rule so /pricing goes to /plans/ directly, and add /pricing/ to /plans/ as well.
3. Keep the old redirects
Do not delete the intermediate redirects once the chain is fixed. Every URL that ever existed may still be linked from somewhere, so each one should keep redirecting, now straight to the final page. Google's site move guide recommends keeping redirects for at least a year.
4. Update internal links
Redirects are for visitors and for links you cannot change. Your navigation, footer, in-content links and buttons should point at the final URL. A crawler export of "internal links to redirected URLs" gives you the list.
5. Update canonicals, hreflang and sitemaps
Canonical tags, hreflang annotations and XML sitemaps should list only final URLs that return 200. A canonical pointing at a redirect sends Google a contradictory signal. Our XML sitemap checker reports sitemap entries that redirect, and the canonical tag checker shows where a canonical points and what that URL returns.
6. Consider HSTS for the HTTP hop
Once a browser has received a Strict-Transport-Security header over HTTPS, it upgrades later http:// requests to that host by itself, with no network round trip, until the header's max-age expires (MDN reference). The first visit still makes the HTTP request. Adding the domain to the HSTS preload list built into browsers removes that too, but hstspreload.org requires the site to redirect from HTTP to HTTPS on the same host first, so a preloaded site needs http://example.com to go to https://example.com before www. Removal from the list is slow, so read the requirements before submitting.
7. Retest
Run the old URLs through a redirect checker again and confirm each returns one 301 followed by a 200.
How to fix a redirect loop (ERR_TOO_MANY_REDIRECTS)
A redirect loop is a chain that never ends: A sends you to B, and B sends you back to A. Browsers stop after a set number of attempts and show an error such as Chrome's ERR_TOO_MANY_REDIRECTS, and curl stops after 50 redirects by default (curl manual, --max-redirs).
Loops usually come from two systems that each think they are responsible for the same redirect:
- CDN and origin disagree about HTTPS. A CDN connects to your server over plain HTTP, the server redirects to HTTPS, the CDN passes the redirect on, and the browser asks again. Make the CDN connect to the origin over HTTPS, or let only one of them force HTTPS.
- The CMS and the server disagree about the address. WordPress with a site address of
https://example.combehind a server rule that addswwwwill bounce between the two. Make the CMS setting match the server rule. - Trailing-slash rules fight. A framework that removes trailing slashes and a server rule that adds them produce a two-step loop. Pick one convention.
- Cookies or login redirects. A login page that redirects to itself when a cookie is missing. Test in a private window to rule out stale cookies.
curl -sIL on the URL shows the repeating pattern, and the two URLs that alternate tell you which two rules to compare.
Who owns which redirects
Chains grow because redirects live in several places, and each team adds rules to its own:
- The CMS or a redirect plugin, for renamed pages.
- The web server configuration or
.htaccess, for host and protocol rules. - The CDN or edge rules, often for HTTPS and country redirects.
- The framework, for trailing slashes and locale prefixes.
Keep one redirect map in version control, with a source and a final destination per row, and generate the rules from it. When a destination changes, every row that pointed at it is updated in one place.
Keep chains from coming back
Every migration, CMS change and renamed page adds rules on top of the old ones. Besides the redirect map, monitor the URLs that matter. PageRipple's SEO monitoring compares the canonical tag, title and robots directives of each watched page every morning, and an alert shows the old and new canonical if it starts pointing somewhere else. Its uptime checks record the status code and redirects, so a page that suddenly answers with a redirect shows up in its check history.
Frequently asked questions
What is a redirect chain?
A sequence of two or more redirects between the URL a visitor or crawler requests and the page it finally receives.
Do redirect chains lose link value?
Google has not published a per-hop loss. Permanent redirects pass signals to their target, but long chains risk not being followed to the end, and they slow crawling, so one hop is the safe target.
What is the difference between 301 and 302?
A 301 says the move is permanent, and Google treats the target as the URL to index. A 302 says it is temporary, and Google is more likely to keep the original URL in results.
What is the difference between 307 and 308?
Both keep the request method, so a form POST stays a POST. 307 is temporary, like 302; 308 is permanent, like 301.

Daniel's guides explain the technical checks behind website reliability: DNS, connections, TLS certificates, redirects and response times.



