Why it matters
Redirect chains build up quietly. A site moves to https, then to www, then someone lower-cases the URLs and adds trailing slashes, and an old link now takes four hops to arrive. Each hop is another request for every visitor and crawler, temporary redirects hold back the move of ranking signals, and a single bad rule can make a loop nobody notices until traffic drops.
This tracer follows each address one hop at a time, the way a crawler does, and says what every hop changes. It checks where the chain ends: a 404, a page whose canonical points elsewhere, or a meta refresh or JavaScript redirect that only some crawlers follow. Then it writes the one rule per URL that sends the old address straight to the final page.
How it works
- InputURLs, or pasted response headers
- In your browserEach hop followed and labelled
- OutputChains, loops and one-hop rules for Apache, nginx and Netlify
Where it fits in a designer's workflow
- Plan
- Design
- Build
- Test
- Launch
By the numbers
Show the numbers as a table
| Status | From | To | What changes |
|---|---|---|---|
| 301 | https://example.co.uk/Tables | https://www.example.co.uk/Tables | adds www |
| 302 | https://www.example.co.uk/Tables | https://www.example.co.uk/tables | changes case |
| 301 | https://www.example.co.uk/tables | https://www.example.co.uk/tables/ | adds trailing slash |
| 200 | https://www.example.co.uk/tables/ | final page |
How to use it
- Enter up to 20 https:// addresses and press Trace, or paste the output of curl -sIL.
- Read the hop strip: green ends on a 200, amber marks temporary redirects, red marks loops and errors.
- Check the 'What changes' column to see which rule adds each hop.
- Copy the one-hop rules into your server config and trace again.
FAQ
How many redirects is too many?
Googlebot follows up to 10 hops, but every hop slows crawling and page loads. Aim for one: old address straight to the final page.
Why can't I trace a plain-http address live?
The live fetch reads https only, for safety. Run curl -sIL with the plain-http address and paste the output; the tracer reads every response in it.
Does it follow JavaScript redirects?
No. It flags JavaScript and meta refresh redirects on the final page, because only crawlers that render JavaScript follow the first kind.
What does HSTS change?
Browsers that have seen your Strict-Transport-Security header go to https themselves, so they skip the http hop. Crawlers and first-time visitors still make it.
What does it send to leej.uk?
Only when you press Trace: the addresses, which leej.uk fetches as LeejTools/1.0, following redirects by hand. Only a daily count is kept.