Check redirects and HTTP status codes

Paste one URL, or up to ten, one per line: the tool follows every redirect the way Googlebot does and shows the status code, destination and response time of each hop, the final URL and what needs fixing.

Up to ten URLs per check. Without http:// or https://, the tool starts from https://.

    How to use the tool

    Paste one or more URLs, one per line, then click “Check”. For each URL, the tool sends a request, records the server’s response and, when it gets a redirect, starts again with the destination given in the Location header. It stops at the first response that is not a redirect, or after ten redirects.

    Each URL gets a table with every hop: the URL requested, the status code returned, the destination and the response time measured from the tool’s server. The final URL sits under the table and the alerts above it. The “Download as CSV” button saves everything in a file that opens in any spreadsheet.

    URLs are checked one after the other. The tools on this site accept twenty requests per ten-minute window and per visitor, all tools combined: past that, the check stops and lists the URLs left aside.

    The tool’s alerts

    Each alert rests on a rule published by Google or on the HTTP standard.

    Permanent or temporary redirect

    The HTTP standard, RFC 9110, sorts redirects into two families. A 301 or 308 says the resource has been given a new permanent URI; a 302 or 307 that it temporarily lives at another URI.5 A 303 points to another resource, usually after a form has been submitted.

    CodeMeaningFor Google
    301 Moved PermanentlyPermanent move. A browser may turn a POST into a GET.Strong signal: the target should become canonical.
    308 Permanent RedirectPermanent move, request method and body kept.Equivalent to 301.
    302 FoundTemporary move. A browser may turn a POST into a GET.Weak signal: the old URL may stay in results.
    307 Temporary RedirectTemporary move, method and body kept.Equivalent to 302.
    303 See OtherPoints to another resource, fetched with GET.Listed with temporary redirects.

    The difference between 301 and 308, as between 302 and 307, lies in the request method. For historical reasons, a browser may turn a POST into a GET when it follows a 301 or a 3025; 307 and 308 were added to rule that out.6 For a page visited the normal way, with GET, 301 and 308 are interchangeable.

    On Google’s side, permanent codes are a strong signal that the target should become the canonical URL, temporary codes a weak one.1 Google recommends a permanent redirect when you are sure it will not be reverted, and a temporary one to keep the old URL in results, during an outage for instance.2 A 302 set by mistake on a permanent move therefore leaves Google free to keep the old URL.

    How many redirects Google follows

    By default, Google’s crawlers follow up to ten hops. Any content received from a redirecting URL is ignored; only the final destination’s content is processed.1 A chain of four or five redirects is still followed by Googlebot, but Google advises against it: point straight to the final destination, or else keep the chain short, because each hop slows visitors down and not every browser follows long chains.3

    Chains usually build up over time: a redirect from HTTP to HTTPS, then another to the www version, then a third added when a URL changes. The address nemociment.fr/blog requested over HTTP is a simple example: a 301 to HTTPS, then a second one to /blog/ with the trailing slash. The fix is to point each old URL straight to the last one, and to update internal links so they target the final URL.

    When the chain ends on an error

    A redirect is only useful if it lands on a page that returns 200. Google handles all 4xx errors the same way, except 429: the page is treated as missing, removed from the index if it was there, and crawled less and less often. 5xx errors and 429 slow crawling down; pages already indexed stay for a while, then are dropped if the error persists.1

    A page deleted with no equivalent can return 404 or 410. A page that has moved should redirect to its new URL, and that new URL should return 200.

    Redirecting to the home page

    During a redesign, it is tempting to send every old page to the home page. Google advises against it: redirecting many old URLs to one irrelevant destination, such as the home page of the new site, confuses users and might be treated as a soft 404.3 The tool flags it as soon as an inner URL ends up at the root of a site. The right target is the page closest to the old one; failing that, a real 404.

    Google also advises keeping these redirects for as long as possible, generally at least one year, so that signals can move to the new URLs.3 That is the core of a website redesign that keeps its rankings: a page-by-page redirect plan, checked URL by URL before and after launch.

    What the tool does not see

    The tool reads server-side redirects, with a 3xx code and a Location header. Two other methods exist. A meta refresh tag sits in the HTML: Google treats an instant one as permanent and a delayed one as temporary. JavaScript redirects are only seen when the page is rendered, after crawling, and Google advises using them only when a server-side redirect is not possible.2 Browsers apply the HTTP redirect first, then the meta tag, then JavaScript.6

    A page that returns 200 can also be blocked in other ways, by a noindex tag or by robots.txt. For the latter, the AI crawler access test reads a site’s file and tells you, crawler by crawler, whether a page can be read. Finally, the tool queries sites from its own server: a site that serves a different response by country or browser may answer your visitors differently.

    Frequently asked questions

    What is the difference between a 301 and a 302 redirect?

    A 301 announces a permanent move, a 302 a temporary one. Google follows both, but only treats the 301 as a strong signal that the new URL should become canonical; with a 302, the old URL may stay in results.

    301 or 308, which one should I use?

    For Google, a 308 is equivalent to a 301. The only difference concerns requests other than GET: a 308 forbids the browser from changing the method, a 301 allows it. For pages visited the normal way, either one works.

    How many redirects does Googlebot follow?

    By default, up to ten hops. Google still advises redirecting straight to the final URL, or ideally sticking to three redirects at most, for visitors and for browsers that follow fewer hops.

    Can I redirect deleted pages to the home page?

    Google advises against it. Redirecting many old URLs to an irrelevant destination such as the home page might be treated as a soft 404. Redirect each page to its closest equivalent; with no equivalent, let it return 404 or 410.

    How long should a redirect stay in place?

    Google recommends keeping it for as long as possible, generally at least one year, to give it time to move the old URL’s signals, links from other sites included.

    Does the tool detect meta refresh and JavaScript redirects?

    No. It follows server-side redirects, the ones that use a 3xx code and a Location header. A page that redirects with a meta tag or JavaScript shows up here with its 200 code.

    Sources

    Passages on this page that rely on a source point to one of these references.

    1. Google, “How HTTP status codes affect Google’s crawlers”, crawling infrastructure documentation. developers.google.com ↑
    2. Google, “Redirects and Google Search”, Google Search Central. developers.google.com ↑
    3. Google, “Site moves and migrations” (site move with URL changes), Google Search Central. developers.google.com ↑
    4. Google, “How to specify a canonical with rel="canonical" and other methods”, Google Search Central. developers.google.com ↑
    5. IETF, RFC 9110, “HTTP Semantics”, section 15.4 on 3xx redirects. rfc-editor.org ↑
    6. MDN, “Redirections in HTTP”. developer.mozilla.org ↑

    Planning a redesign or a migration?

    The redirect plan is part of the SEO support I offer: each old URL matched to the right page, then checked after launch. I reply within 24 business hours.

    Contact me