Redirect checker: 301, 302, chains, www and https
See where an address really leads: every redirect with its status code and time, how http, https, www and no www behave, and whether the final page agrees with them. Every problem comes with a ready server rule.
How the check works
Three steps, a few seconds.
- 01
We follow the address
We request the address and follow every redirect one by one, up to 10 hops, recording the status code and the time of each.
- 02
We try the other versions
We open the home page over http and https, with and without www, and the path with and without the trailing slash.
- 03
You get a report
The chain, where every version ends, a 0–100 score, 9 checks and a ready nginx or Apache rule for every problem.
What is checked
Three groups.
Redirect chain
The address ends on a page with status 200, in at most one redirect, with permanent 301 codes and without meta refresh. 50 points.
One address for the site
http leads to https, the versions with and without www end on one address, each in one hop. 35 points.
Final page
The canonical tag names the final address, and the path with and without the trailing slash is one page. 15 points.
FAQ
What is the difference between a 301 and a 302 redirect?
A 301 says the page has moved for good: search engines replace the old address with the new one and pass its weight. A 302 says the move is temporary, so the old address stays in the index. For a changed address, a new domain or https, use 301.
Why is a chain of redirects bad?
Each hop is another request: on a mobile connection it adds a few hundred milliseconds. Google follows up to 10 hops, but long chains are crawled less often, and a loop makes the page unreachable.
With www or without — which is better?
Either, as long as there is one. Choose the version you already use in links and ads, and redirect the other one to it with a 301 for every page, not only the home page.
How many checks can I run?
Up to 15 checks per hour from one address. A repeated check of the same address within 2 minutes shows the ready report.
Moving a site or changing its addresses?
I will plan the redirects so the site keeps its positions in search: a map of old and new addresses, server rules and a check after the move.