How to Check a Redirect Chain, Hop by Hop
A redirect is the part of a website you never see unless you go looking for it. Type an old address into a browser and you land on the new page, and everything looks fine. The browser hides that path by default: how many hops it took, which status code each one returned, whether any of them dropped from HTTPS to HTTP, and how long the detour cost. That path is what search engines, ad platforms and link previewers follow, and it is where redirect problems live.
The one-minute check
Paste the URL into the RedirectBoss Redirect Checker, pick who you want to check as (a desktop or mobile browser, Googlebot, a social previewer, an AI crawler, or no user agent at all), and run it. The result page shows:
- Every hop in the chain, in order, with the status code and the URL each one pointed to next.
- A verdict for the whole trace, such as Reached, Broken, Blocked or Redirect loop, taken from where the chain stopped.
- Timing for each hop, split into four phases. DNS lookup turns the hostname into an IP address, TCP connect opens the connection to that address, TLS handshake agrees the encryption, and time to first byte is the wait before the server starts answering. The total is the network time a browser would spend on the chain.
- Notices, colour-coded red, yellow and green, for things worth a look: a long chain, an HTTPS to HTTP downgrade, an expired certificate.
- The details behind each hop: the TLS certificate (issuer, subject, alternate names, validity, TLS version), the resolved IP and DNS records, the hosting provider, the server and caching headers, cookies, security headers, and the raw headers.
Every result gets its own link, so you can hand the trace to whoever owns the fix. Anyone holding that link can read the chain, so keep secrets out of the box. Check a harmless version of the path rather than a password reset link, a session token or a signed download URL.
One check traces one URL. The checker sends one request per hop and stops at the final response, a loop, or the 20-hop limit browsers use. It does not crawl, it does not run JavaScript, and it does not read robots.txt. It sends the user agent you picked and nothing that names the tool, so a site cannot pick the check out of its logs by user agent alone. The requests still arrive from the checker's own IP addresses, though, and a site filtering on those will answer the check differently from the way it answers you. That is what a Blocked verdict usually means.
What a redirect chain is, and what each hop costs
A redirect is a response that says "not here, go there" instead of a page. A chain is what happens when "there" is also a redirect. The browser follows each in turn until something answers with a page or an error, and each step is a hop.
Every hop is a complete round trip before the browser can move on: another lookup, another connection, another handshake, another wait. On a fast connection that is tens of milliseconds a hop. On a phone on a weak signal it can be half a second or more, and the visitor sees a blank screen for the whole of it.
Crawlers pay too. Google's documentation says its crawlers follow up to 10 redirect hops by default, and that content from the redirecting URLs is ignored, so only the final page counts. Browsers give up at around 20. Long before either limit, a chain is spending crawl budget, meaning the number of pages a crawler is willing to fetch from your site in a given stretch, on detours that return nothing.
Here is a real chain, checked while writing this guide, for a YouTube short link:
http://youtu.be/9_SZFIW7tus
301 -> https://youtu.be/9_SZFIW7tus
303 -> https://www.youtube.com/watch?v=9_SZFIW7tus&feature=youtu.be
200 final page
Two hops, two different redirect types, and a final page. The first hop is an HTTPS upgrade. The second is a 303, a "see other" that sends the client to fetch a different URL with a GET. A browser plays the video and files all of that in the Network tab, where nobody looks unless something breaks.
Our own site has a two-hop chain of the most common kind. Request http://redirectboss.com and you get a 301 to https://redirectboss.com, then a second 301 to https://www.redirectboss.com. The fix is a single rule sending the plain HTTP apex straight to the HTTPS www address. Most sites answering on both the bare domain and www have this exact chain.
Reading the status codes
The status code on each hop tells you what kind of redirect it is and how browsers and search engines will treat it.
301, moved permanently. The address has moved for good. Browsers cache the answer, and Google passes the old URL's ranking signals to the destination. Use it for a page move, a domain move, and an HTTP to HTTPS upgrade. The request method may change to GET.
302, found. A temporary detour. Google keeps the old URL as the indexed address when a redirect is temporary, which is the trouble with a 302 left behind after a permanent move. The destination is the page you want found, and the old address is the one Google goes on listing. Switch the code to 301. The 301 vs 302 guide covers when each applies.
303, see other. A temporary redirect telling the client to fetch a different URL with GET, typically after a form POST so a refresh does not resubmit it. You will see it in login flows and short links, as in the YouTube example.
307, temporary redirect. Like a 302, but the request method is preserved, so a POST stays a POST. Browsers also use an internal 307 when HSTS rewrites an http:// address to https:// inside the browser, before any request goes over the network.
308, permanent redirect. Like a 301, but the request method is preserved. The right choice for an API endpoint that has moved for good.
Meta refresh and JavaScript redirects. These are not status codes. The server returns a 200 and a page, and the page itself says to go somewhere else, with a meta tag or with a script. Google recommends a permanent server-side redirect whenever possible, a meta refresh only when you cannot do that, and a JavaScript redirect only when you cannot do either, because the script runs only when Google renders the page and rendering can fail.
4xx on the final hop. The redirect did its job and handed the visitor an error: a 404 for a destination that is not there, a 410 for one taken down deliberately, a 403 for a server that refused. A bot wall is reported separately, so a live page behind bot protection is not counted as a dead one.
5xx on the final hop. The destination server failed to answer. The URL may work again later, and it may not. Either way, a redirect pointing at a server that is down is broken now.
Check a redirect in Chrome DevTools
Your own browser is already recording the chain. Reading it takes four steps.
- Open DevTools (F12, or Command-Option-I on a Mac) and click the Network tab.
- Turn on Preserve log. Without it the list clears every time the page navigates, which is what a redirect does.
- Load the old URL in the address bar.
- Read the Status column from the top down. Each redirect is its own row with its own status code, and the last row is the response that finally returned a page.
Click any row for its response headers, including the Location header naming the next URL. A 301 can come from the browser's cache rather than the server, so use a private window when you want today's answer from the server.
DevTools shows the trip your browser took, from your location, with your cookies and extensions in play. That makes it right for a redirect you can reproduce yourself, and wrong for the question of what Googlebot gets.
Checking a redirect with curl
If you are comfortable in a terminal, curl gives you the chain in a few seconds. Ask for headers only and follow redirects:
curl -I -L https://example.com/old-page
-I requests headers instead of the page body. -L follows each redirect. You get one block of headers per hop. Read the status line of each and the Location header that names the next URL. A working permanent redirect looks like a 301 with a Location, then a 200 at the end.
To get the hop count and the final address on one line:
curl -s -o /dev/null -L -w '%{num_redirects} redirects, final %{url_effective} (%{http_code})\n' https://example.com/old-page
Two things to know. Some servers answer a HEAD request differently from a GET, so if -I gives you something strange, drop it and let curl fetch the body. And curl sends its own user agent, which sites that redirect by device or block unknown clients will act on. Pass -A with a browser or Googlebot string to see what those clients see.
A checker traces one URL per check, which is the wrong shape for a migration with four hundred old addresses. Put them in a text file, one per line, and let curl walk it:
while read -r url
do
curl -s -o /dev/null -L -w "%{http_code} %{num_redirects}hop $url -> %{url_effective}\n" "$url"
done < old-urls.txt
Every line returns the final status code, the number of hops, the URL you asked for and the address it ended on. Read the rows that do not start with 200, plus any with more hops than you expected, then put those few through the checker. Build the list from the old sitemap, or an analytics export of the pages that were getting traffic.
What curl does not give you is the per-hop timing breakdown, the certificate and DNS details, the notices, the menu of real crawler and social bot user agents, or a link you can hand to a colleague. That is the gap the Redirect Checker fills. Reach for curl when you are already in a terminal and want an answer in two seconds. Anything that turns on a certificate, a timing number, or showing your working to someone else is easier in the checker.
The nine verdicts and what to do about each
Every trace ends with exactly one verdict, taken from the last hop. Here is what each means and the next move.
Reached. The chain resolved to a working page. Check that the final URL is the one you intended and that the status codes on the way were the ones you meant. Reached with a 302 in the middle of a permanent move is still a problem.
Broken. The final page returned an error, usually a 404 or 410. The redirect works, but it points at something that is not there. Fix the destination, or point the rule at the page that replaced it.
Blocked. A bot wall or firewall answered with a 403, 429 or 451, so whatever is behind it could not be read. The checker keeps this apart from Broken because the page may be healthy. Try again with a different user agent. If a browser gets through and Googlebot does not, that is worth fixing, because Googlebot's view decides what gets indexed.
Redirect loop. The chain came back to a URL it had already visited. Usually two rules undo each other, an HTTPS rule against a www rule, a CDN against its own origin, or a catch-all that matches its own destination. Find the pair that disagrees and make one win.
Too many redirects. The chain kept going past the 20-hop limit. In practice this is almost always a loop with a twist, such as a query parameter or trailing slash that changes on every pass.
Unreachable. The checker could not connect at all. The hostname may not resolve, the connection may fail, or the host may answer only over IPv6, which this checker cannot follow because it connects over IPv4. The stop reason on the last hop says which. Check the DNS record and whether the server is listening on the port, and add an A record if the host is IPv6 only.
Guarded. The checker's own safety rules ended the chain, because a hop pointed at a private or reserved address, a non-standard port or a non-web protocol. A public redirect that lands on a private address is broken for everyone outside your network.
Incomplete. The trace stopped early and the result shows what it had. Either it ran out of its time budget, usually because of one very slow hop, or it hit a per-host rate limit partway along the chain. Look at the timing on the last hop, then run it again.
Not followed. The checker found a meta refresh or JavaScript redirect and did not execute it. If the destination matters for search, replace it with an HTTP redirect.
Check as Googlebot, a social bot or an AI crawler
Sites do not answer everyone the same way. A mobile site may redirect phone user agents and leave desktop ones alone, and a firewall that waves browsers straight through will often challenge anything that looks automated. Checking as a browser tells you what a person gets, and nothing about what a crawler or a link previewer gets.
The Redirect Checker sends the user agent you pick on every hop, and the list covers the clients that matter:
- Browsers: Chrome on Windows and Android, Firefox, Safari on macOS and iPhone, Edge.
- Search crawlers: Googlebot, Googlebot (mobile), Bingbot, DuckDuckBot, YandexBot.
- Social previewers: Facebook, Twitterbot for X, LinkedInBot, Slackbot, Discordbot.
- AI crawlers: GPTBot and OAI-SearchBot from OpenAI, ClaudeBot from Anthropic, PerplexityBot, Google-Extended.
- No user agent at all, which is what some scripts and monitoring tools send.
On any page that earns money or traffic, check as Googlebot (mobile) first, because that is the crawler Google indexes most sites with. After that, check as the social bot for whichever platform you actually share on, since a redirect that works for people and fails for the previewer sends your links out with no title and no image. Checking as an AI crawler is worth it if you care whether those systems can reach you, because bot walls increasingly treat them differently from search crawlers.
The problems a check turns up, and the fix for each
A chain longer than one hop. Collapse it. Point the first URL straight at the final destination and leave the intermediate rules in place for anything else that depends on them. The two most common chains are HTTP apex to HTTPS apex to HTTPS www, and old page to new page to newer page.
An HTTPS to HTTP downgrade. A hop in the chain drops from an encrypted address to a plain one, usually because an old rule was written before the site had a certificate. Browsers warn on the plain hop, and the visitor gets a moment of unencrypted traffic before the upgrade. Rewrite the rule to point at the HTTPS address.
An HTTP to HTTPS hop with no HSTS. The upgrade works, but the first request from every new visitor still goes out in plain HTTP. Add a Strict-Transport-Security header on the HTTPS response. It tells the browser to remember, for a length of time you set, that this site is HTTPS only, so later visits swap http:// for https:// inside the browser and the plain request never leaves the machine. The checker lists HSTS in each hop's security headers.
A redirect that drops the path. Every old URL lands on the new homepage. Google's site move documentation says not to redirect many old URLs to one irrelevant destination such as the home page, because it can confuse users and might be treated as a soft 404. That is as far as Google goes. Our own reading is that a destination filed as a soft 404 will not inherit much from the URLs pointing at it, which is reason enough to carry the path across, so /blog/how-to-repot-a-fern on the old domain lands on the same path on the new one.
An expired or wrong certificate on a hop. The checker flags an expired certificate as a critical notice and shows the subject and alternate names, so a certificate issued for www and used on the bare domain shows up too. Reissue it for every hostname in the chain, not only the last one.
When to check redirects
After a site or domain move, check a sample of real old URLs, not only the homepage. Deep pages, pages with query strings, and both the www and non-www forms of a few of them. A domain answers on four addresses: http://example.com, http://www.example.com, https://example.com and https://www.example.com. The plain HTTP www form is the one most often left out of the rules, because people test the address they type and almost nobody types that one.
After adding HTTPS, check the plain HTTP forms of your main pages for the downgrade and the double-hop chain above.
Before sending paid traffic, check the final URL in the ad. A redirecting landing URL costs a round trip on every click you paid for, and Google Ads can disapprove an ad whose final URL redirects to a different domain.
On a schedule, re-check the redirects that carry traffic. Rules change, certificates expire, CDN settings get toggled, and a chain that was one hop in March is three by September. Every result page carries a Re-check button that runs the same URL and user agent again, so an old result link is the quickest way to start the next one. It is not a monitor, though. Results are deleted 60 days after the check, and a trace only ever describes the moment it ran. Use the Export CSV button if you want a record to compare a later check against.
Fixing redirects at the domain level
Most redirect problems in this guide come from rules spread across places that do not know about each other: a web server config, a CMS plugin, a CDN setting, a registrar's forwarding feature. Each rule is correct on its own, and nobody ever designed the chain they add up to.
RedirectBoss puts the redirects for a domain in one place. Point the domain at it, write the rules once with the status code you mean and the path carried across, and get SSL for the redirected domain provisioned for you. Through the MCP server, an AI assistant can audit every redirect for configuration problems by request. When the domain being checked is served by RedirectBoss, the Redirect Checker says so on the result.
Start with the check. Paste the URL that matters most into the Redirect Checker, read the verdict and the hops, and fix the first hop whose status code is not the one you meant, starting with any 302 that was supposed to be permanent.
Frequently asked questions
- How do I check if a 301 redirect is working?
- Request the old URL and look at the first response, not the page you end up on. It should be a 301 with a Location header pointing at the new URL, and the new URL should answer 200. A redirect checker shows both in one result. With curl, run curl -I -L on the old URL and read the status line of each response. Test in a private window if you use a browser, because browsers cache 301s and can show you an old answer.
- How many redirect hops is too many?
- One is the goal. Google's documentation says its crawlers follow up to 10 redirect hops by default, and browsers stop at around 20. Well before either limit, every hop adds a full round trip for the visitor. Two hops is common and worth fixing when it is cheap. Three or more is a chain to collapse.
- Does a redirect checker detect JavaScript and meta refresh redirects?
- The RedirectBoss Redirect Checker detects them and stops there, with a verdict of Not followed, because it does not run scripts or execute the page. That is the honest answer for any server-side checker. Google recommends a server-side redirect whenever possible, and says to use a JavaScript redirect only as a last resort, because it runs only when Google renders the page and rendering can fail.
- How do I check a redirect without using a terminal?
- Paste the URL into a web-based redirect checker and read the hops it lists back. The other way is built into your browser. Open Chrome DevTools, click the Network tab, turn on Preserve log, then load the old URL and read the Status column. Each redirect appears as its own row with its status code, and the final row is the page that answered. DevTools shows the trip your own browser took. A checker lets you pick a different user agent and hand the result to someone else.
- How do I check a list of URLs after a site migration?
- A checker traces one URL per check, which is the wrong shape for the few hundred URLs a migration touches. Put the old addresses in a text file, one per line, and loop curl over the file with a format string that prints the final status code, the hop count and the address each one ended on. Read the rows that do not end in 200, plus any row with more hops than you expected, then run those few through a checker.
- Is a redirect chain bad for SEO?
- A short chain still passes ranking signals, since Google treats permanent redirects as a move and follows several hops. The cost is speed and crawl budget, meaning the number of pages a crawler is willing to fetch from your site in a given stretch. Each hop is a separate request before any content arrives. Google's crawlers follow up to 10 hops in one attempt, and a chain still redirecting after that stops with a redirect error, so the destination is never reached. Collapsing chains to one hop is a cheap win, and a chain is also where a wrong status code or an HTTPS downgrade hides.
Redirects shouldn't be the hard part.
Add a domain, point your DNS, and start redirecting. RedirectBoss handles SSL, DNS verification, and gives you one dashboard for every rule.