Not affiliated with Google. No scan can promise a site won't be demoted.

REDIRECT CHECKER · CHECKS P3, I5, I8

Redirect checker: follow every hop and spot sneaky redirects

Enter a site. The box follows the http, https, www and non-www addresses hop by hop, reads the status code of your pages, and looks for meta refresh, script and phone-only redirects that send visitors to another site.

Free, no sign-up. A few seconds to a minute. We only read public pages and never change anything.

Runs P3, I5, I8 of our 45 checks. Run all 45

What this redirect checker reads

A redirect checker answers one question: when someone asks for a URL, where do they end up, and how many steps does it take? Ours answers it three ways at once, because each way catches a different kind of mistake.

  • I8 requests the four addresses of your home page (http://example.com/, https://example.com/, http://www.example.com/ and https://www.example.com/) and follows each one to the end. It passes when every address that answers lands on one https origin.
  • I5 reads the HTTP status code of your home page and of the pages we sample from your sitemap, or from your home page’s links when there is no sitemap. It flags anything that ends on a 4xx or 5xx, or never answers.
  • P3 looks for the redirects Google’s spam policies call sneaky: a meta refresh or a script that sends visitors to another site, and redirects that only happen for phones or for visitors arriving from Google.

The first two are plumbing. A site whose http address doesn’t reach https, or whose sitemap lists dead pages, isn’t breaking any rule, but it’s wasting crawls and splitting signals. The third is a policy question. Google names sneaky redirects as spam, and hacked sites use them more than their owners do. The full scan on the home page runs these three with the other checks, and the list of all 45 checks shows where they sit.

This page explains the status codes, how Google treats each one, how chains form and how to collapse them, and exactly what our code looks for, with output from our own scanner.

Status codes and how Google treats each

Every redirect is either a server response with a 3xx status code and a Location header, or something the page does after it loads. Google’s redirects documentation sorts them into permanent and temporary. For a permanent redirect, “Googlebot follows the redirect, and the indexing pipeline uses the redirect as a signal that the redirect target should be canonical.” For a temporary one, the pipeline “doesn’t use the redirect as a signal that the redirect target should be canonical.”

That one difference decides which URL shows in search results. Here is the full set.

Type What it says Google’s reading Use it for What our scanner does
301 Moved Permanently The page has moved for good Permanent. The target becomes the canonical Site moves, http to https, www to non-www, renamed pages Follows it and records the hop
308 Permanent Redirect Same as 301, and the request method must not change Permanent The same moves, when forms post to the old URL Follows it and records the hop
302 Found The page is somewhere else for now Temporary. The source URL stays the likely canonical Short detours, A/B tests, maintenance Follows it and records the hop
303 See Other Fetch a different URL with GET Temporary After a form submission Follows it and records the hop
307 Temporary Redirect Like 302, and the method must not change Temporary Temporary moves of URLs that receive posts Follows it and records the hop
Meta refresh, 0 seconds An HTML tag that moves the browser at once Permanent Hosts where you can’t set server redirects P3 flags it if it points to another site
Meta refresh, delay above 0 Moves the browser after a pause Temporary Rarely a good idea P3 flags it if it points to another site
JavaScript location A script changes the address Permanent, if Google renders it Last resort P3 flags literal cross-site targets in inline scripts

Google states the 301 and 308 meaning plainly: “The 301 and 308 status codes mean that a page has permanently moved to a new location.” For the HTML version it says “Google Search interprets instant meta refresh redirects as permanent redirects,” and “Google Search interprets delayed meta refresh redirects as temporary redirects.”

On scripts it is cautious: “Only use JavaScript redirects if you can’t do server-side or meta refresh redirects.” The reason follows in the same section. Rendering can fail, so with a JavaScript redirect “Google might never see it if rendering of the content failed.” A server redirect is read on the first fetch. A script redirect waits for the rendering queue, and might not happen at all.

The same page lists methods in order of how likely Google is to read them correctly, with server-side redirects first. If you have a choice, the order is simple: a 301 or 308 from the server, then an instant meta refresh, then a script.

Status codes that end the trip

Redirects lead somewhere. Where they lead matters as much as how. Google’s HTTP status code reference is blunt about errors.

Final status Google’s reading What I5 does
200 Content goes on to indexing, which Google may still decline Pass
404 Not Found, 410 Gone “Google doesn’t use the content from URLs that return 4xx status codes.” Indexed URLs drop out over time Home page: high. Sampled page: medium
429 Too Many Requests Treated as a server error Same as any 4xx
500, 502, 503 “5xx and 429 server errors prompt Google’s crawlers to temporarily slow down with crawling.” Indexed URLs are kept for a while, then dropped Home page: high. Sampled page: medium
No answer (timeout, refused, DNS) Nothing to index Home page: high. Sampled page: medium

A 503 during a deploy is normal and short. A home page that answers 500 on every scan is not. I5 reads one moment, so if it flags a 5xx, scan again in a few minutes before you change anything. If it repeats, look at server logs and your host’s resource limits.

Permanent or temporary: pick the one you meant

Most redirect bugs we see aren’t spam. They’re the wrong code. Two patterns cause most of them.

A 302 where a 301 belongs. Many frameworks and hosting panels default to 302, because it’s the safer choice for a temporary route. When you move a site from http to https, or from one domain to another, a 302 tells Google the old address is still the real one. Google says a temporary target “might still be indexed if other canonicalization signals are present,” which means you’re now relying on canonical tags and links to do the redirect’s job.

A 301 you later want to undo. Browsers cache 301s hard. If you 301 a page during a launch experiment and then put it back, returning visitors may keep landing on the old target until their cache clears. Google’s advice covers this: “Use permanent redirects when you’re sure that the redirect won’t be reverted.”

Our I8 check doesn’t grade 301 against 302. It checks where each address ends. The evidence lists every hop’s code, so you can see a 302 in the chain and decide. If an address answers 302 → 200, and the move is permanent, change it to a 301.

Redirect chains and loops

A chain is two or more redirects in a row. A loop is a chain that comes back to where it started. Both come from rules added at different times by different people: a host-level https upgrade, a CMS rule for trailing slashes, a plugin’s rule for the new slug, a CDN page rule for the old domain.

Google’s crawler tolerates chains up to a point. The status code reference says “By default, Google’s crawlers follow up to 10 redirect hops.” It also notes that “Google Inspection Tools doesn’t follow redirects.” So when you inspect an old URL in Search Console, the URL Inspection help says “the results reflect the tested URL in the index, not the redirect target in the index.” Inspect the final URL to see the page itself.

Our fetcher stops sooner. It follows up to six hops and then reports the request as failed with too many redirects. A loop hits that limit too, so both show up the same way in the evidence. A seven-hop chain would reach Google and fail for us. We think the earlier stop is the right call for a warning: a chain that long is a mistake waiting to grow, and every hop adds a round trip for every visitor.

Here is a real chain from one of our own sites, an AI story generator we run, traced with curl. The hostname is replaced.

$ curl -sIL http://www.example.com/ | grep -iE "^HTTP|^location"
HTTP/1.1 301 Moved Permanently
Location: https://www.example.com/
HTTP/2 301
location: https://example.com/
HTTP/2 200

Two hops: the first upgrades http to https on the same www host, the second drops the www. Nothing is broken. Both hops are 301 and the chain ends on the right URL. But it’s one hop longer than it needs to be, because two separate rules each did half the job. An edge setting upgraded every request to https first, and the site’s own code removed www second. A single rule that sends http://www straight to https://example.com/ would make it one hop.

An educational toy review site we run shows the same two-hop pattern. An image vectorizing tool we run sends http://www to the final apex in one hop. The difference is only in where the rules live.

How to collapse a chain

  1. Trace each old address with curl -sIL <url> and write down every hop.
  2. Find which system issues each hop: CDN, host, web server, application, plugin.
  3. Make the first system that sees the request send it straight to the final URL.
  4. Remove or narrow the later rules so they don’t fire on already-correct URLs.
  5. Update internal links, the sitemap and canonical tags to the final URL, so new crawls don’t start a chain at all.

Step 5 matters more than people think. A sitemap that lists http:// URLs, or URLs without a trailing slash when your site adds one, sends Googlebot through a redirect on every single entry. Our sitemap checker flags listed URLs that redirect.

One address: http, https, www and non-www

Every domain has at least four addresses for its home page. If more than one of them answers with a 200 and a full page, you have duplicate copies of your site. Google’s canonicalization guide lists “Protocol variants: for example, the HTTP and HTTPS versions of a site” among the common causes of duplicate content.

Google will pick one version to index, but it may not pick the one you want, and signals like links get split between the copies. The duplicate URLs guide ranks redirects first among the signals you control: “Redirects: A strong signal that the target of the redirect should become canonical.”

What I8 does, step by step

  1. Takes the host you entered and strips a leading www. to get the bare host.
  2. Requests http:// and https:// versions of the bare host and of www. plus the bare host. Four requests, each with a browser user-agent, without reading the page body.
  3. Follows each one through up to six redirects.
  4. Keeps the addresses that answered with a status below 400.
  5. Collects the final origin (scheme plus host) of each.
  6. Fails, at medium severity, if the final origins differ, or if an http:// address ends on http://.

If none of the four answers, the check reports “unknown” rather than fail. An address that doesn’t answer at all, for example a www name with no DNS record, isn’t counted as a failure here. That’s a DNS question, and the domain health check covers whether the apex and www resolve.

What the four addresses do I8 result What it means
All end at https://example.com Pass One address. The ideal
All end at https://www.example.com Pass Also one address. www as the main host is fine
https://www.example.com answers 200 itself, the rest go to the apex Fail, medium Two live copies of the home page
http://example.com answers 200 without redirecting Fail, medium Visitors see “not secure”, and Google sees a second copy
www doesn’t resolve, the other three end at the apex Pass Fine for I8. D1 reports the missing www record
None answer Unknown The site is down or blocks us

Output from five sites we run

We run I8 on our own sites, the same code the box above runs. All five pass. Here is the evidence from the AI story generator, with the host replaced.

pass I8  Every address that answers ends at https://example.com.
     http://example.com/ → 301 → 200 https://example.com/
     https://example.com/ → 200 https://example.com/
     http://www.example.com/ → 301 → 301 → 200 https://example.com/
     https://www.example.com/ → 301 → 200 https://example.com/

And here is what a failure looks like, from the scanner’s own test fixture, where the www host serves its own copy.

FAIL I8  [medium] Visitors end up on 2 different addresses: https://example.com, https://www.example.com.
     http://example.com/ → 301 → 200 https://example.com/
     https://example.com/ → 200 https://example.com/
     http://www.example.com/ → 301 → 200 https://example.com/
     https://www.example.com/ → 200 https://www.example.com/

The fix for that one is a single rule on the https://www host.

Server rules that do it in one hop

For nginx, give the http server block and the www server block one job each.

server {
  listen 80;
  server_name example.com www.example.com;
  return 301 https://example.com$request_uri;
}

server {
  listen 443 ssl;
  server_name www.example.com;
  # certificate lines for www.example.com go here
  return 301 https://example.com$request_uri;
}

For Apache with .htaccess, one rule covers both cases.

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://example.com%{REQUEST_URI} [L,R=301]

On a CDN or a hosting platform, look for a redirect rule or a “primary domain” setting. Set it once, at the outermost layer, and switch off any “redirect to https” toggle elsewhere that adds a second hop. Then run the box again and confirm each of the four lines shows one 301.

When a redirect becomes spam: what P3 looks for

Redirects are normal. Google’s spam policies say so directly: “there are many legitimate, non-spam reasons to redirect one URL to another.” Their examples include “Moving your site to a new address” and sending users to an internal page after they log in.

The policy draws the line at intent. Sneaky redirecting means doing it “maliciously in order to either show users and search engines different content or show users unexpected content.” Google gives two examples:

  • “Showing search engines one type of content while redirecting users to something significantly different”
  • “Showing desktop users a normal page while redirecting mobile users to a completely different spam domain”

And the test it applies: “consider whether or not the redirect is intended to deceive either the users or search engines.”

We can’t read intent. We can read the patterns that produce those two examples, and the code checks four of them. A fifth, “search engines see one thing, users another”, is the cloaking check, P2, on the Googlebot simulator page.

Rule How P3 reads it Flags when
Meta refresh Every <meta http-equiv="refresh"> on the home page and sampled pages; reads the url= part The target is on a different site
Inline script redirect Scripts written into the page (not loaded from a file); looks for location = "...", location.href = "...", window.location = "...", location.replace("...") and location.assign("...") with a full http(s):// address The address is on a different site
Phone visitors Requests your home page with an iPhone Safari user-agent and follows every redirect The phone ends on a different site from a desktop browser
Visitors from Google Requests your home page with a desktop browser user-agent and a Referer: https://www.google.com/ header, so a rule that fires only for real browsers arriving from Google still fires That request ends on a different site from a direct visit

“Different site” means a different registrable host. www.example.com, example.com and m.example.com all count as the same site, so a legitimate move to a mobile subdomain or to www never trips P3. A redirect to offers.example does.

P3 is an exact check at high severity, and on paid plans it sends an alert when it goes from pass to fail. It reports up to eight evidence lines.

What a P3 finding looks like

These three come from our scanner’s test fixtures, which plant each pattern on a fake site. The output is verbatim except the fixture host.

FAIL P3  [high] Visitors are sent to another site in a way Google calls sneaky.
     Meta refresh on /mugs/ sends visitors to https://spam.example/

FAIL P3  [high] Visitors are sent to another site in a way Google calls sneaky.
     A phone ends at https://mobile-offers.example/; a desktop browser ends at https://example.com/

FAIL P3  [high] Visitors are sent to another site in a way Google calls sneaky.
     Script on / redirects to https://offers.example/go

The third one came from this planted script:

<script>
  if (document.referrer.indexOf("google") > -1) {
    window.location.href = "https://offers.example/go";
  }
</script>

Note that P3 found it through the literal address, not by running the condition. The script only fires for visitors whose referrer contains “google”, and P3 doesn’t execute JavaScript. It reads the source. That’s why it caught a redirect a plain fetch never triggers.

Before and after

A hacked page often carries an injected tag in the head, placed above the site’s own markup so it runs first.

Before:

<head>
  <meta http-equiv="refresh" content="0; url=https://pills.example/buy">
  <title>Handmade mugs and bowls</title>
</head>

After:

<head>
  <title>Handmade mugs and bowls</title>
</head>

Deleting the tag is the easy part. If you didn’t put it there, someone else did, so treat the site as hacked: check recently changed files, plugins and themes, your .htaccess or server config, and the accounts with write access. Then ask for a security review in Search Console if Google has flagged the site.

What P3 can’t see

Every check has an edge, and this one has several.

  • Scripts loaded from files. P3 reads scripts written into the HTML. A redirect inside /assets/app.js, or one built from a variable (location.href = target), isn’t matched.
  • Redirects that need a real browser. Anything that fires after a timer, a scroll or a click doesn’t happen during our fetch. The phone and Google-referrer tests catch server-side behavior only.
  • IP-based targeting. Some injected redirects fire only for certain countries, or only once per visitor using a cookie. A single request from our server may get the clean page.
  • Same-site redirects. A meta refresh from one page of your site to another isn’t flagged, because it isn’t sneaky by Google’s definition. It may still be a bad redirect type, and the table above says what Google makes of it.
  • Legitimate cross-site scripts. A button handler that sends a buyer to a payment provider’s checkout page sets window.location to another site. P3 flags it if the address is a literal in an inline script. Read the evidence line: if it’s your own checkout behind a click, it isn’t a redirect visitors get on arrival, and Google’s intent test doesn’t apply.

The scan is a risk read, not a verdict. Google’s own systems and its manual reviewers see things we can’t, and no outside scan sees whether a manual action exists.

Pages answering with errors: what I5 reads

Redirects often end in errors after a redesign. A page moves, the old URL gets a redirect to a URL that later moves again, and the end of the chain is a 404. I5 catches the end of that story.

It reads three things:

  1. The home page. If it doesn’t answer at all, I5 fails at high severity with the error, for example too many redirects or timed out. If it answers 400 or above after redirects, it fails at high severity with the code.
  2. Sampled pages. Up to 20 pages from your sitemap, spread across it rather than its first rows, then links from the home page if the sitemap runs short. Any that end on 400 or above, or never answer, fail the check at medium severity.
  3. Where each failed page came from. Every evidence line says whether the URL was in the sitemap or linked from the home page.

From a test fixture where one sitemap page was deleted:

FAIL I5  [medium] 1 sampled page answers with an error.
     404 /plates/ (from sitemap)

A 404 that the sitemap lists is worth fixing even if the page is gone on purpose. Either redirect it to the closest live page with a 301, or remove it from the sitemap so Google stops being told to crawl it. A 404 linked from your home page is a broken link visitors hit too.

I5 counts a redirect as fine if it ends on a 200. It’s the final status that matters to this check. A sitemap full of URLs that redirect is the sitemap check’s concern.

A worked example: tracing one site end to end

Say you moved a small shop from oldshop.example to example.com last month and traffic hasn’t recovered. Here’s the order we’d work in, with the checks that answer each step.

  1. Run I8 on the new domain. Confirm the four addresses end on one https origin. If https://www answers its own copy, fix that first.
  2. Trace the old domain by hand. curl -sIL https://oldshop.example/some-product/ should show one 301 to the matching URL on the new domain. A redirect of every old URL to the new home page is a common mistake. The home page isn’t a replacement for a product page, so the redirect tells Google little about where each old page’s content went. Map each old URL to its closest new one.
  3. Run I5. If sampled pages answer 404, the URL structure changed and some pages have no redirect.
  4. Read P3. A migration plugin or a leftover script from the old platform sometimes adds a meta refresh to another domain. P3 flags it.
  5. Check canonicals. Pages that still name the old domain as canonical pull Google back to it. The canonical checker reads them.
  6. Check the sitemap. It should list final URLs only, on the new domain.

If all of that is clean and traffic is still down, the cause is somewhere a redirect checker can’t see: a core update, a manual action, or demand that changed. Our not on Google page walks the wider list.

How to read the box above

The box runs P3, I5 and I8 against the address you enter. Each result is one of four states.

  • Pass: we looked and found nothing wrong.
  • Fail: we found the pattern, shown with the evidence we read. Severity comes from the check, or from the rule that fired.
  • Unknown: we tried and couldn’t tell, usually because the site timed out or blocked us.
  • Skip: the check didn’t run, which none of these three does on a normal scan.

Every evidence line is something you can reproduce yourself with curl -sIL or by viewing the page source. If a result surprises you, run the curl command against the same URL. If you get a different answer, the site may be treating our request differently from yours, which is a finding in itself.

For the rest of the picture, run the full scan. It adds robots.txt, noindex, canonicals, sitemaps and the other spam-policy checks, 45 in all.

Questions

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

A 301 says the page moved for good, so Google treats the target as the page to index and shows it in results. A 302 says the move is temporary, so Google keeps the original URL as the canonical unless other signals point elsewhere. Use a 301 or 308 for a move you will not undo, and a 302 or 307 for a short detour.

How many redirects in a row are too many?

Google's crawlers follow up to 10 hops by default, and our scanner stops after six and reports the chain as broken. Every hop costs a round trip and is one more place for a mistake. Aim for one hop from any old address to the final URL, two at most.

Is a meta refresh redirect bad for SEO?

Not by itself. Google reads an instant meta refresh as a permanent redirect and a delayed one as temporary. It becomes a problem when it sends visitors to another site you did not mean to send them to, which is a pattern hacked pages use. Our P3 check flags only meta refresh tags that point off your site.

Does a redirect checker tell me if my site has a Google penalty?

No. It shows how your addresses redirect and whether any redirect matches a pattern Google's spam policies name. Manual actions show only in Search Console, and algorithmic demotions are invisible from outside. A clean result here means these mechanics look right, nothing more.

Should www redirect to non-www or the other way round?

Either works. Google treats both as valid hosts. What matters is that you pick one, every other version answers with a single 301 to it, and your canonical tags, sitemap and internal links all use the same host.

Why does the checker say a phone ends somewhere else?

We request your home page with an iPhone user-agent and compare where it ends with where a desktop browser ends. If the phone lands on another site, that matches the mobile example in Google's sneaky redirects policy. Check your server config, plugins and any ad or analytics scripts for the redirect.

Updated 2026-12-02. Checks on this page: P3, I5, I8. All 45 checks are on the checks page.