Free tool

Redirect checker and HTTP header checker

Check a URL: redirect chain, status codes, response headers, TTFB and SSL certificate (as Googlebot, Bingbot, Chrome or a phone) and see if a WAF blocks it.

Check a URL's status, redirects and headers

User agent

Try:

Requested by our test server in Amsterdam, a data-centre address, which some sites treat differently from a visitor at home. The page body is read only to time it, and never shown or kept.

On this page

Status codes at a glance

CodeMeaning, and what search engines do
200OK: the page itselfIndexable, unless a header or meta tag says otherwise
301/308Moved permanentlyThe new address replaces the old one in the index
302/307Moved temporarilyThe old address stays indexed
304Not modified: the cached copy is still currentNormal for repeat crawls
403ForbiddenNot indexed; often a firewall rule or a file permission
404/410Not found / gone for goodDropped from the index after a few crawls
429Too many requestsCrawlers slow down and come back
500/502/503Internal server error, bad gateway, service unavailableCrawlers retry for a while, then drop pages that keep failing

Reading a redirect chain

With redirects followed, the checker lists every request it made, up to ten redirects, each with its status code and the Location it pointed to. A clean chain has one step: http://example.com/ answers 301 straight to https://example.com/, and that answers 200. The patterns worth fixing:

  • Two or three hops for one move: HTTP to HTTPS, then www to the bare domain, then a trailing slash. Each hop is another round trip for every visitor. Point the first redirect at the final address instead.
  • A temporary code for a permanent move: a 302 or 307 keeps the old address in the index. Use 301 or 308 for HTTPS, a new domain and pages that moved for good.
  • A loop: an address that comes back later in the chain, typically HTTPS forced at the CDN and HTTP forced at the origin. Chrome stops it as ERR_TOO_MANY_REDIRECTS.
  • A chain that ends in an error: a redirect to a 404 or a 5xx loses the visitor and the link value of the old address.

Search engines follow only so far: Google’s documentation says Googlebot follows up to ten redirect hops, and Bing Webmaster Tools’ Site Scan reports a chain longer than three redirects as an error. The checker follows HTTP redirects only; a meta refresh or a JavaScript redirect inside the page is not run, so a page that answers 200 can still send a browser elsewhere.

Headers worth a look

  • Location: where a redirect points. A relative path is allowed; a redirect back to an address already in the chain is a loop, which browsers stop with an error.
  • X-Robots-Tag: the header form of the robots meta tag. A noindex here keeps the page out of search results however good its content is, and is easy to miss because it is not in the HTML.
  • Link: <…>; rel="canonical": a canonical address set in the header, common for PDFs.
  • Strict-Transport-Security tells browsers to use HTTPS only for this domain from now on.
  • Cache-Control, Age and the CDN’s own headers (CF-Cache-Status, X-Cache) show whether the answer came from a cache, and for how long it may be kept.
  • Server, Via and CF-Ray say who actually answered: your web server, a reverse proxy or a CDN in front of it. When an error page names the CDN, the problem is often between the CDN and your server.

When a bot protection page answers

Sites behind Cloudflare, Akamai, Sucuri, Imperva, AWS WAF, Vercel or DataDome sometimes answer a request from a data centre with a challenge or a block page instead of the site. The check recognises those pages and says so, instead of reporting the 403 or 503 as the site’s own answer.

Choosing Googlebot or Bingbot sends their user-agent strings, nothing more. Bot protections recognise the real crawlers by their IP addresses and usually let them through, so a challenge here does not mean Google is blocked. To know what Google itself gets, use URL Inspection in Search Console, or look for Googlebot’s requests in your access log and confirm one with a reverse lookup:

Linux · macOS
host 66.249.66.1           # → crawl-66-249-66-1.googlebot.com
host crawl-66-249-66-1.googlebot.com   # must resolve back to the same address

The same checks with curl

Linux · macOS
# status and headers
curl -sI https://example.com/

# follow every redirect
curl -sIL http://example.com/

# as Googlebot
curl -sI https://example.com/ \
  -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

# time to the first byte, and in total
curl -o /dev/null -s https://example.com/ \
  -w 'TTFB %{time_starttransfer}s, total %{time_total}s\n'

-I sends a HEAD request, which some servers answer differently from a normal GET; this tool always sends a GET, like a browser. Setting up the redirects themselves (HTTP to HTTPS, one canonical host) is part of putting a site behind nginx with Let’s Encrypt.

Frequently asked

How do I check where a URL redirects?

Enter it above with redirects followed. Every step is listed with its status code and the address in its Location header, up to the final page. A chain of more than one redirect is worth shortening: each step costs visitors a round trip, and crawlers follow only a limited number of them.

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

301 and 308 say the move is permanent, so search engines index the new address in place of the old one. 302, 303 and 307 say it is temporary, and the old address stays the one in the index. For HTTP to HTTPS, www to the bare domain and pages that have moved for good, a permanent redirect is almost always the right one.

Can I check whether Googlebot is blocked?

Partly. Choosing Googlebot sends Google's user-agent string, which shows a site that blocks, redirects or serves something else by user agent. It cannot show rules based on Google's own IP addresses: the request comes from our server, and many firewalls recognise the real Googlebot by its addresses and treat it differently. When a bot protection page answers instead of the site, the result says so rather than reporting the site's error. The URL Inspection tool in Google Search Console shows what Google itself received.

What is TTFB?

Time to first byte: how long the server took from receiving the request to sending the first byte of its answer, measured here from our server in Amsterdam once the connection and the TLS handshake are done. A long TTFB points at the application (a slow query, no page cache) more than at the network.

Why does the result differ from what my browser shows?

The check comes from a data-centre address in Amsterdam, without cookies and without running JavaScript. Sites that tailor their answer to a country, a logged-in session or a home connection, or that challenge data-centre traffic, answer it differently from your browser.

More free tools

All tools