How to Check a Redirect Chain, Hop by Hop
Trace every redirect a URL takes with a free redirect checker, curl or Chrome DevTools, read each status code, and learn what a healthy chain looks like.

Type a web address into a browser and you rarely land on the URL you typed. The server answers with a redirect, the browser follows it, and sometimes the next server redirects again. That sequence of hops is a redirect chain. Most of the time nobody notices it. When it is too long, points at the wrong place or bounces back on itself, visitors wait longer, search engines get a muddier signal and, in the worst case, the page never loads at all.
This guide shows three ways to test a redirect chain hop by hop: the free Redirect Checker, curl in a terminal, and Chrome DevTools. Every trace below is real output from public sites, captured on 28 October 2026. Your results may differ, because sites change their rules and some answer differently depending on where the request comes from.
What a redirect chain is
A redirect is an HTTP response with a status code in the 300 range and a Location header naming the next URL. A chain is every response between the address you start with and the one that finally answers 200 OK (or an error).
Each hop costs a full round trip: a DNS lookup if the host changed, a new TLS handshake if the scheme or host changed, and the request itself. On a phone over a slow connection, a single hop can add a noticeable delay before anything starts to render.
Search engines care too. Google documents that Googlebot follows up to 10 redirect hops and reports a redirect error in Search Console if it gets no content within that limit (Google Search Central, HTTP status codes). Browsers give up later: Chrome stops at 20 and shows ERR_TOO_MANY_REDIRECTS. So a long chain is not just slow; past a point it is invisible.
Method 1: the free Redirect Checker
The quickest way to see a whole chain is to paste the starting URL into the Redirect Checker and press Trace Redirects. It requests the URL from our server without following redirects automatically, records the status code, the Location target and the response time of each hop, then repeats until it reaches a page that is not a redirect or hits 10 hops.
Here is the result for http://bitssolved.com/tools/redirect-checker, typed the lazy way: plain http, no www, no trailing slash.
Reading it top to bottom:
- Hop 1, 301. The bare http address moves permanently to
https://www.bitssolved.com/tools/redirect-checker. Scheme and host are fixed in one step. - Hop 2, 301. The server adds the trailing slash, because the page lives at a directory style URL.
- Final row, 200. The page itself. The "Final URL" line under the table is where a visitor actually lands.
That is two redirects for one page, and it is a fair example of how chains grow: each rule is sensible on its own, and they simply run one after another. Visitors who arrive through a link that already uses the final URL never take this route. Someone who types the short address by hand, or copies it from an old email, does.
What to look for in the table:
- The status of every hop. A
301or308says "moved for good". A302or307says "temporarily somewhere else". If a permanent move is answered with a temporary code, search engines may keep the old URL indexed. The difference is covered in 301 vs 302 redirects. - The number of hops. One is normal. Two is common and usually fixable. Three or more almost always means rules stacked by different people at different times.
- The time column. A hop that takes far longer than the others often points at a slow origin or a cross-host jump that needs a fresh TLS handshake.
- The last row. It should be
200. A final404,403or5xxmeans the chain works but leads somewhere broken. - A stopped trace. If the checker reports that it stopped after too many hops, you are probably looking at a loop. Redirect loop errors walks through the usual causes.
The checker is a server side tool, so anonymous use is limited to 5 checks per tool per day and 50 with a free account. It also sends no cookies, which matters for login pages: a site that redirects visitors without a session cookie to a sign-in page will show that bounce here even if your own browser, already signed in, goes straight through.
Method 2: curl in a terminal
curl is installed on macOS, most Linux machines and recent Windows versions, and it shows the raw responses with nothing hidden.
The simplest trace prints the headers of every response while following redirects:
curl -sIL http://example.com | grep -iE '^(HTTP|location)'What the flags do:
-shides the progress meter.-Isends aHEADrequest and prints only headers.-LfollowsLocationheaders. curl stops after 50 redirects by default; add--max-redirs 10to match what Google tolerates.- The
grepkeeps just the status lines and the targets.
Two real traces, run against public sites:
http://bitssolved.com reaches its final URL in one hop: a single 301 that changes the scheme to https and the host to www together. http://wikipedia.org takes two: first to https://wikipedia.org/, then to https://www.wikipedia.org/. The same two step pattern showed up when we traced youtube.com, facebook.com, reddit.com and bbc.co.uk on the same day.
The last command in the screenshot uses curl's -w option to print a one line summary, which is handy in scripts or when you are checking a list of URLs:
curl -sL -o /dev/null -w '%{num_redirects} redirects, %{http_code} %{url_effective}\n' http://wikipedia.orgIf you want each hop on its own line in a compact form, ask curl for one response at a time and feed the target back in. This small loop does that, with a cap of 10 hops:
url="http://wikipedia.org"; n=0
while [ -n "$url" ] && [ $n -le 10 ]; do
out=$(curl -s -o /dev/null -w '%{http_code} %{redirect_url}' "$url")
echo "$url -> $out"
url=$(echo "$out" | cut -d' ' -f2-); n=$((n+1))
doneIts real output:
http://wikipedia.org -> 301 https://wikipedia.org/
https://wikipedia.org/ -> 301 https://www.wikipedia.org/
https://www.wikipedia.org/ -> 200HEAD and GET can disagree
-I sends HEAD, and some servers treat HEAD differently from the GET a browser sends. When we ran curl -sIL http://amazon.in, the final answer was 503; the same chain with a normal GET ended in 200. Bot protection and some application frameworks answer HEAD requests oddly. If a HEAD trace ends in an error, repeat it with the loop above, which uses GET, before you conclude anything.
Location and geography change results
Some sites redirect by country or language. Traced from India, http://cnn.com went 301 to https://www.cnn.com/ and then 302 to https://edition.cnn.com/. Our Redirect Checker runs from a server in Europe, so a site that redirects by region can show a different last hop there than on your laptop. When a redirect "only happens for some people", compare a trace from two locations before changing any rules.
Method 3: Chrome DevTools
DevTools shows the chain exactly as your browser experiences it, with your cookies, your cache and any extensions in play. That makes it the right tool when a redirect only happens for signed in users or only on one machine.
- Open a new tab, then open DevTools (
F12, orCmd+Option+Ion a Mac) and choose the Network panel. - Tick Preserve log. Without it, the panel clears on every navigation and you only see the last page.
- Tick Disable cache while DevTools is open. Browsers cache permanent redirects, so without this you may see an old rule instead of what the server sends today.
- Type the starting URL in the address bar and press Enter.
- Look at the first rows in the list. Each redirect appears as its own request with a 3xx status. Click one and open Headers to see the
Locationresponse header.
One thing DevTools shows that curl will not: a row with status 307 Internal Redirect. That is not your server. It is Chrome upgrading http to https on its own, because the site sent a Strict-Transport-Security header on an earlier visit or is on the browser's built in HSTS list. The response headers include Non-Authoritative-Reason: HSTS. If you are debugging what your server sends, trust curl or the Redirect Checker for that hop, not the browser. You can see whether a site sends the HSTS header, and every other response header, with the HTTP Header Checker.
What a healthy chain looks like
For a normal page, aim for this:
- One hop from any variant to the final URL.
http://example.com,http://www.example.comandhttps://example.comshould each reachhttps://www.example.com/(or your chosen host) in a single permanent redirect that fixes the scheme and the host together. Our own homepage works this way. - A permanent code for permanent rules.
301or308for https enforcement, host canonicalisation and moved pages. - A final
200on the URL you want indexed, and that same URL in the page's canonical tag. - No redirects on internal links. Links in your menus, sitemap and content should point straight at the final URL, so visitors and crawlers start where the chain would have ended. Trace the sitemap URL itself while you are here: a sitemap that redirects to an HTML page or to another host is one of the commoner reasons Search Console cannot read a sitemap, and that fetch fails before a single entry in the file is read.
There is one deliberate exception. Sites that want to be on the HSTS preload list must first redirect http://example.com to https://example.com on the same host, and only then to www, because the browser needs to receive the HSTS header from the bare https domain (hstspreload.org). That is why Wikipedia, YouTube and Facebook all show two hops above. If you follow that pattern on purpose, a two hop chain from the bare http address is fine. Make sure every other variant still takes one.
Flattening a chain that has grown
When a trace shows three or more hops, list each hop and ask which rule produced it. The common sources are:
- a CDN or hosting panel forcing https,
- a web server rule forcing www,
- the application adding or removing a trailing slash,
- an old redirect from a previous site move pointing to a URL that itself moved later.
The fix is usually to make the first rule send visitors directly to the final URL. For a moved page, update the old redirect so it points at today's address instead of yesterday's. For scheme and host, combine the two rules into one; for example, in Nginx a single return 301 https://www.example.com$request_uri; in the port 80 server block and in the bare domain's https block.
After any change, trace again from every variant: http and https, with and without www, with and without the trailing slash. Then check the certificate covers every host in the chain with the SSL Checker, because a redirect that points at a host with a certificate error stops visitors at a warning page.
A quick checklist
- Trace the bare domain, the www host, and http and https versions of each.
- Trace two or three important deep URLs, typed without a trailing slash.
- Trace an old URL from a previous site structure, if you ever had one.
- Confirm each chain ends in
200on the URL your canonical tag names. - Confirm permanent moves use
301or308. - Count the hops: one for every variant, or two only for a deliberate HSTS preload setup.
If you would rather check redirects together with SSL, speed and security headers in one pass, the Website Health Checker runs them as a set. And if a chain turns out to be tangled across a CDN, a server and a plugin, that is the kind of measured, fixed price job our website fixes service handles. Moving a whole site rather than one page? Read how to move a website without losing search traffic first.
Tools mentioned in this post
- Redirect CheckerTest any URL’s redirects: every hop’s status code, Location and time, with loops and wasted hops called out.
- HTTP Header CheckerInspect any URL’s response headers and get a security-header report card.
- Website Health CheckerOne scored report: uptime, SSL, DNS, speed, redirects, security headers, SPF and DMARC.
- SSL CheckerCheck any site’s SSL certificate: validity, expiry date, issuer and chain.


