Redirect chain checker
Follow a URL through every redirect to the page it finally lands on. See each hop’s status code, spot loops and long chains, and check that all four versions of your domain end at the same address.
By RankGhost · Last reviewed
How to check a redirect chain
- Enter a bare domain, such as example.com, to test the four versions people type: http and https, with and without www.
- Or enter a full URL to follow just that address.
- RankGhost requests each hop in turn and records its status code and the next location.
- Check that each chain ends at a page that loads, and that every version of your domain ends at the same URL.
- Shorten any chain with more than one hop by pointing the first URL straight at the final one.
Permanent and temporary redirects
The status code tells search engines how to treat the move. Google’s documentation groups them like this:
| Code | Type | How Google treats it |
|---|---|---|
| 301 | Permanent | Moved for good. A strong signal that the new URL should replace the old one. |
| 308 | Permanent | Treated like a 301. |
| 302 | Temporary | A weak signal: the old URL may still be the one shown in search. |
| 303 | Temporary | Treated like a 302. |
| 307 | Temporary | Treated like a 302. |
Whichever code you use, one hop is best. Every extra redirect delays the page for visitors and adds a request for crawlers.
How to fix a redirect chain
Chains build up over time: an HTTPS move, then a switch to www, then a new URL structure, each adding a redirect on top of the last. Here’s a typical one, and the same address after the fix:
http://example.com/pricing 301 → https://example.com/pricing 301 → https://www.example.com/pricing 308 → https://www.example.com/pricing/ 200 (3 hops)
http://example.com/pricing 301 → https://www.example.com/pricing/ 200 (1 hop)
- Find the final URL. Run the checker on the old address and note where the chain ends with a 200.
- Point the first URL straight at it. Change the redirect rule so the original address goes to the final URL in one hop, instead of passing through each intermediate step.
- Merge the https and www rules. A common chain is http → https → www. One rule that sends every version of your domain straight to your preferred https address removes a hop from every URL on the site.
- Pick one trailing-slash style. Decide whether URLs end with a slash and make your links, canonicals and sitemap match, so the last hop disappears.
- Look at every layer. Your CDN, web server and CMS can each add a redirect. When a chain has more hops than you set up, check all three.
- Update your own links. Change internal links, canonical tags and your sitemap to the final URL, so visitors and crawlers skip redirects entirely.
Redirects during a site move
A redesign, a new CMS or a domain change is when most redirect problems start. A short plan avoids losing the rankings and links your old URLs earned:
- Map old URLs one to one. List every old URL that gets traffic or links and pair it with the closest new page before launch.
- Don’t send everything to the homepage. Google says redirecting many old URLs to one unrelated page can confuse visitors and may be treated as a soft 404.
- Use permanent redirects. 301 or 308 tells Google the new URL should replace the old one in search.
- Keep them for at least a year. Google recommends keeping site-move redirects for as long as possible, generally at least a year.
- Check after launch. Run your most important old URLs through this checker on launch day and again a week later, when caches and CDN rules have settled.
If you also change how pages declare their preferred URL, run a few through the canonical tag checker so canonicals and redirects point the same way.
Questions about redirects
Sources, reviewed : Google: HTTP status codes and redirects, Google: site moves with URL changes.
Do AI assistants cite you?
Track your Google rank and captured AI citations for the same keywords.
More free tools
- AI robots.txt generatorAllow or block GPTBot, ClaudeBot, PerplexityBot and other AI crawlers.
- AI robots.txt checkerSee which AI crawlers your current robots.txt lets in.
- llms.txt generatorBuild an llms.txt file that points AI tools to your key pages.
- AI crawler page inspectorSee the text, headings and token count a crawler gets from a page.
- Canonical tag checkerCheck a page’s canonical URL for conflicts and common mistakes.
- Google search result previewPreview your title and description as a desktop search result.
- Reading level checkerScore your text’s readability and find sentences to shorten.