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.

Shows

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:

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

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.