Where does this URL end up?
Paste one URL or a list. You see every redirect with its status code, the address it finally lands on, and what is worth fixing on the way.
What it checks
- Every step. Each redirect with its status code and the address it points to, down to the page that finally answers, and how long the trip took.
- Chains. More than one redirect in a row. Google's crawlers follow up to 10, but Google advises pointing the first address straight at the last.
- Temporary redirects. 302, 303 and 307. For these Google keeps showing the old address in its results. For a permanent 301 or 308 it shows the new one.
- Changes of address. http to https, www to non-www or back, and a move to another host.
- Dead ends. Loops, chains that are still going after 10 steps, and redirects that lead to a 404 or another error page.
- Meta refresh. A
<meta http-equiv="refresh">on the page the URL lands on. Google reads an instant one as a permanent redirect and a delayed one as temporary. - All four versions of a domain. http and https, with and without www, and whether they end at the same address.
What it can't see
Redirects done by JavaScript. This tool reads what the server sends and does not run scripts. Google sees a JavaScript redirect only if it manages to render the page.
Redirects that depend on who is asking. A site can send visitors elsewhere by country, device, language or cookie. Each check is made once, from a server, as an ordinary visitor with no cookies.
Where a meta refresh leads. It is reported, not followed. Run the address it names as a second check.
It stops after 10 requests and waits up to 12 seconds for each. Some sites refuse automated visitors, so a 403 here can be a 200 in a browser.
Questions
301 or 302: which one should I use?
Use a 301 or a 308 when the move is for good. Google then shows the new address in its results. Use a 302 or a 307 when the old address will come back, during maintenance for example. Google then keeps showing the old one.
How many redirects in a row are too many?
Google's crawlers follow up to 10. Google advises redirecting straight to the final address and, where that is not possible, keeping a chain to no more than 3 steps and fewer than 5.
Does a redirect cost ranking?
Google says that 301 and other permanent redirects do not cause a loss of PageRank. A redirect that ends on a 404 is a different matter: Google removes pages that answer with a 4xx error from its index.
Why should all four versions of a domain end at the same address?
Because http, https, www and non-www are four different addresses. When more than one of them answers on its own, visitors and links are split between copies of the same site. One address that the other three redirect to keeps them together.