Skip to content
Urlzee

Redirect Chains: How They Slow Pages and How to Fix Them

By Urlzee Team · Published · 6 min read

A redirect chain is what you get when one redirect leads to another before the page finally loads. Every hop costs a full network round trip, and often a new DNS lookup and TLS handshake as well. The fix is to point each old URL straight at the final address, so there is at most one redirect.

What does a redirect chain look like?

Each response sends the browser somewhere else, and nothing useful is displayed until the last one. A common chain on a site that has been through a few changes:

http://example.com/blog/old-post         301
https://example.com/blog/old-post        301
https://www.example.com/blog/old-post    301
https://www.example.com/articles/new-post    200

That is three redirects for one page view. No single rule is wrong: one forces HTTPS, one adds www, one handles a renamed section. They were added at different times and nobody combined them.

A redirect loop is the degenerate case, where a rule sends the browser back to a URL it has already visited. Browsers follow up to a limit, around 20 redirects in the major ones, and then stop with an error such as ERR_TOO_MANY_REDIRECTS.

Why do redirect chains slow pages down?

Because the browser cannot do anything in parallel while it is being redirected. It has to finish each hop to learn where the next one is.

For every redirect, the browser must send a request and wait for the response. If the hop goes to a different hostname, or switches from http to https, it also needs some or all of:

  1. a DNS lookup for the new host
  2. a new TCP connection
  3. a TLS handshake

Only after the last hop does the HTML start to arrive. All the time spent redirecting is added to the page's time to first byte, and everything measured from the start of navigation, including Largest Contentful Paint, moves back by the same amount.

The cost in milliseconds depends on the visitor's network and how far away each server is, so there is no honest single number. On a fast fixed connection a hop may be barely noticeable. On a mobile connection with high latency, three hops can add a delay people can feel before the page has even started loading. Lighthouse flags this under the audit "Avoid multiple page redirects".

Where do redirect chains come from?

Mostly from layers of sensible rules that were never reviewed together.

SourceExample
Protocol and host ruleshttp to https, then non-www to www, as two separate steps
Trailing slash normalisation/page to /page/ after the other rules have run
Site migrationsAn old URL redirects to a 2022 URL, which redirects to a 2025 URL
Tracking and ad linksA click tracker redirects to another tracker, then to the landing page
Shortened linksA short link whose destination is an old URL that itself redirects
Shortener on shortenerOne short link pointing at another
Locale or device redirects/ to /en/, then to /en-gb/

Marketing links deserve particular attention. An email platform's click tracker, a short link and an affiliate network's redirect can each add a hop before your own site adds two more.

How do you find redirect chains?

Request the URL without following redirects automatically, and look at each hop.

With curl. This prints the status and location of every response in the chain:

curl -s -L -o /dev/null -D - http://example.com/blog/old-post | grep -i -E '^(HTTP|location)'

To get just the count, the final URL and the time spent redirecting:

curl -s -L -o /dev/null \
  -w 'redirects: %{num_redirects}\nfinal: %{url_effective}\nredirect time: %{time_redirect}s\ntotal: %{time_total}s\n' \
  http://example.com/blog/old-post

More recipes are in how to test redirects with curl.

With a browser. Open developer tools, go to the Network tab, enable "Preserve log" and load the URL. Each redirect appears as its own row with a 3xx status.

With an online tool. The link checker requests a URL from Urlzee's server and lists every hop, its status code, the final address and the response time. The URL expander does the same job for short links. Both follow up to 8 hops and report anything longer as too many redirects.

At scale. A site crawler will list every internal link that points to a redirecting URL. That report is the most useful one, because those are chains you cause yourself and can remove completely.

How do you fix a redirect chain?

Make every starting URL go directly to the final one. In order of payoff:

  1. Update your own links. Internal links, navigation menus, sitemaps and canonical tags should all use the final URL. A link that does not redirect is faster than any optimised redirect.
  2. Collapse server rules into one hop. Write the rule so that it produces the complete final URL in a single response, with the correct scheme, host and path together, instead of fixing one part at a time.
  3. Repoint old redirects. When a page moves a second time, edit the earlier redirects so they target the new location directly. Do not stack a new rule on top of the old one.
  4. Fix the destination of marketing links. If an ad, email or short link points at a URL that redirects, change it to the final URL.
  5. Enable HSTS once HTTPS is solid. With an HSTS policy, browsers that have visited before switch http to https internally without a network request. It does not help first-time visitors or other clients, so it complements a correct redirect and does not replace it.

Here is what collapsing looks like for the earlier example. Before, each rule fixes one thing:

http://example.com/blog/old-post  →  https://example.com/blog/old-post
                                  →  https://www.example.com/blog/old-post
                                  →  https://www.example.com/articles/new-post

After, every variant answers once:

http://example.com/blog/old-post       →  https://www.example.com/articles/new-post
https://example.com/blog/old-post      →  https://www.example.com/articles/new-post
https://www.example.com/blog/old-post  →  https://www.example.com/articles/new-post

Prefer server-side redirects (a 3xx status) over meta refresh tags or JavaScript. Those need the browser to download and process a page before it even learns there is somewhere else to go.

Do redirect chains affect SEO?

They affect crawling and speed more than rankings directly. Search engine crawlers follow redirects, but only so far. Google's documentation says Googlebot follows up to 10 hops before treating the URL as an error. A chain short of that still costs a crawler several requests to reach one page, and visitors pay the delay described above.

Mixed chains also send mixed signals. If a chain contains both permanent and temporary redirects, it is less clear which URL you want indexed. Use the status code that matches your intent at every hop; 301 vs 302 redirects explains the difference.

A short link is one redirect by design. That hop is the price of a short address, click counting and, on some plans, an editable destination. It only becomes a chain if the destination redirects again.

To keep a short link to a single hop:

  • Shorten the final URL. Paste the address exactly as it appears after the page has loaded: https, the right host, the right trailing slash.
  • Re-check after site changes. If you restructure your site, links created earlier may now point to redirecting URLs. On Urlzee's Pro plan you can edit the destination without changing the short link.
  • Do not chain shorteners. Urlzee refuses destinations on its own domain and on other shortening services, which rules out loops and shortener-to-shortener chains.
  • Keep UTM parameters on the final URL. A redirect in the middle that drops the query string will silently lose your campaign tags. Test the full path once and confirm the parameters arrive.

A related failure is the chain that ends nowhere, when a hop in the middle is retired and every link through it breaks. That is one form of link rot, and shorter chains have fewer places for it to happen.

A quick audit routine

Pick your ten most-visited landing pages and your current campaign links. Run each through curl or a link checker, starting from the http:// non-www version. Anything with more than one redirect goes on a list, and most entries on that list can be fixed with a single rule change or a single edited link.

Frequently asked questions

What is a redirect chain?
A redirect chain is a sequence of two or more redirects between the URL a visitor requests and the page that finally loads, for example an http address that redirects to https, then to www, then to a new path.
How many redirects are too many?
One is normal and usually unavoidable. Two or more in a row are worth fixing where you control them, because each adds a network round trip. Browsers stop with an error after roughly 20, and crawlers give up much sooner than that.
Do redirect chains hurt SEO?
A short chain does not attract a penalty, but it wastes crawl requests and slows the page for visitors, and crawlers stop following after a set number of hops. Pointing every old URL directly at the final address avoids both problems.
What is a redirect loop?
A redirect loop is a chain that leads back to a URL already visited, so it never ends. Browsers detect it and show an error such as ERR_TOO_MANY_REDIRECTS.
Does a short link create a redirect chain?
A short link adds exactly one redirect. It becomes a chain only if its destination also redirects, so shorten the final URL of the page, including https and the correct host, to keep it to a single hop.