Tools / Redirect checker
Redirect chain tracer
Follows the redirects for a URL one hop at a time and lays out the whole chain — useful for SEO audits, migrations and reviewing cross-host redirects or loops.
More free checks
Run a full security scan or speed test on your site, or try a related tool.
Related free tools
Shows
- Every hop: status code and the
Locationit points to. - Total hop count and the final URL / final status.
- Whether the chain upgrades
http://→https://. - Whether it crosses to a different host (and which).
- Redirect loops (detected and stopped).
Each hop is re-resolved and re-checked against the block list before it is followed, so the tool can't be pointed at internal addresses.
Which status code to use
The codes are not interchangeable, and picking the wrong one is hard to undo:
301Moved Permanently — browsers and search engines cache it, sometimes indefinitely. Correct for a genuine permanent move, and painful if you publish one by mistake, because visitors keep following the old rule from cache long after you fix the server.302Found — temporary. Use it while you are still deciding. Historically clients changedPOSTtoGETwhen following it, which is why the next two exist.307Temporary Redirect — like 302 but the method and body are preserved. The safe temporary choice for anything that might receive aPOST.308Permanent Redirect — like 301 with the method preserved. The modern permanent choice.303See Other — deliberately forces aGET. The right answer after a form submission, so a refresh does not resubmit.
Rule of thumb: if the endpoint ever sees a POST, use 307 or 308. If you are
redirecting after a form, use 303. Reach for 301 only when you are certain.
Why chains cost you
Every hop is a full round trip — DNS, TCP, TLS, request — before the visitor sees anything. Three hops on a mobile connection can add a second of latency to a page that has not started loading yet.
They cost you in crawling too. Search engines follow a limited number of hops and treat long chains as a reason to spend crawl budget elsewhere; signals passed through a chain can also dilute. The classic accidental chain is the one nobody designed:
http://example.com/page -> http://www.example.com/page (www rule) -> https://www.example.com/page (HTTPS rule) -> https://www.example.com/page/ (trailing-slash rule)
Four requests to serve one page, and each rule is individually reasonable. The fix is to collapse them into a single redirect straight to the canonical form, which almost always means ordering the rules so the first match produces the final URL rather than feeding the next rule.
Open redirects: the security side
This is the finding we report from redirect behaviour, and it is common. An open redirect is any endpoint that will forward a visitor to a URL supplied in a parameter:
/login?next=https://attacker.example/fake-login
On its own it looks minor — nothing on your server is compromised. It matters because
the link starts on your domain, which is exactly what a phishing campaign wants: your
hostname in front of the user and in any filter that checks reputation. It is also a reliable
way to bypass an allowlist that trusts your domain, and it can leak tokens through the
Referer header or an OAuth redirect_uri.
The fix is never a blocklist. Validate the destination against an allowlist of permitted
paths, or accept only relative paths and reject anything containing a scheme or a double
slash. Watch for the encodings that defeat naive checks — //attacker.example
is protocol-relative and looks relative to a careless parser, and
https:/\attacker.example is accepted by some clients.
Other things a chain can tell you
- A cross-host hop that drops HTTPS — even briefly — exposes the request to the network. The chain should upgrade to HTTPS on the first hop and never go back.
- Cookies set mid-chain are easy to miss, and a session cookie set on a plain-HTTP hop has already leaked.
- A loop usually means two rules disagree — commonly a proxy adding a trailing slash while the application removes it, or an HTTPS rule that cannot tell it is already behind a TLS-terminating proxy.
- A chain ending in
404is a migration that was half finished.
Related checks: HTTP header checker for the final response in full, robots.txt & sitemap validator since redirects inside a sitemap waste crawl budget, and TLS / SSL checker for the hosts along the way.
Frequently asked questions
How many redirects are too many?
Aim for one. Each hop adds a round trip and slows the first page load, and Google stops following after about 10. Point old links straight at the final URL instead of chaining old → older → new.
Do 301 redirects lose SEO value?
Google has said that 3xx redirects do not lose PageRank. The cost of chains is speed and crawl efficiency, and a chain that ends in an error loses everything.
What is the difference between 301 and 308?
Both are permanent. A 301 lets a browser change a POST into a GET on the next request; a 308 keeps the method and body. Use 308 for API endpoints and form targets, 301 for ordinary pages.
How do I fix a redirect loop?
Look for two rules that undo each other, such as HTTP→HTTPS on the server while a CDN connects to the origin over HTTP, or www and non-www rules that point at each other. This checker shows the hop where the loop starts.