Redirect Checker
Free HTTP redirect checker and hop simulator: trace 301, 302, 307, and 308 chains hop by hop, detect A→B→A loops and cross-domain hops, or paste curl/DevTools traces for Googlebot checks — no signup.
Fetch a URL or paste hops to see the chain.
HTTP redirect status codes compared (Google Search Central reference)
According to Google Search Central's redirects documentation, server-side HTTP redirects give search engines the clearest canonicalization signal — far more reliable than meta refresh tags or client-side JavaScript redirects. Use this matrix to choose and audit the exact status code:
| Type / Code | Canonical signal | HTTP method | Browser caching | When to use (and when not to) |
|---|---|---|---|---|
| 301 Moved Permanently | Strong (indexes target) | May change POST → GET | Cached aggressively by browsers | Standard SEO migrations, slug renames, HTTP→HTTPS, www consolidation |
| 308 Permanent Redirect | Strong (same as 301 for Google) | Preserves method & body | Cached aggressively | Permanent moves on modern frameworks (Next.js permanent: true) and API endpoints |
| 302 Found | Weak (keeps source indexed) | May change POST → GET | Not cached by default | Short-term maintenance, A/B experiments, temporary seasonal pages — avoid for permanent moves |
| 307 Temporary Redirect | Weak (same as 302 for Google) | Preserves method & body | Not cached (note: Chrome also shows synthetic 307 Internal Redirect for HSTS upgrades) | Temporary redirects on forms/APIs; verify HSTS vs server 307 with curl -I |
| Meta refresh / JS | Weakest (requires rendering for JS) | N/A (client-side) | Depends on HTML cache | Last resort when you cannot configure server/CDN headers (use instant 0s refresh if forced) |
Why redirect chains hurt crawl budget and LCP (Googlebot's 10-hop ceiling)
Googlebot follows up to 10 redirect hops before abandoning a URL and reporting a Redirect error in Search Console. In practice, even a 3- or 4-hop chain causes silent damage long before you hit hop 10:
| Pattern | Hop sequence | Crawl requests per URL | Real impact |
|---|---|---|---|
| Broken 4-hop legacy chain | http://old.example/p → 301 → https://old.example/p → 301 → https://new.example/p → 301 → https://www.new.example/p → 301 → https://www.new.example/p/ (200) | 5 HTTP fetches | Burns 5× crawl budget, adds 300–800 ms TTFB before HTML starts downloading, delays LCP |
| Flattened 1-hop migration | http://old.example/p → 301 → https://www.new.example/p/ (200) | 2 HTTP fetches | Fastest canonical consolidation, single round-trip, clean Search Console indexing |
Copy-paste server rules to flatten chains into 1 hop
The root cause of most multi-hop chains is stacking separate rules for protocol (HTTP→HTTPS), hostname (apex↔www), trailing slash, and legacy URL renames. Collapse them into a single destination rule at the edge or origin:
Nginx (protocol + host + legacy path in one 301)
# Bad: 2 separate server blocks create http://old -> https://old -> https://www.new (2+ hops)
# Good: collapse protocol + host + legacy path in ONE 301 hop
server {
listen 80;
listen 443 ssl;
server_name old.example.com example.com;
location = /old-pricing {
return 301 https://www.example.com/pricing/;
}
location / {
return 301 https://www.example.com$request_uri;
}
}Apache .htaccess (combined HTTPS + host rule, preserving query strings with QSA)
# Apache .htaccess — combine HTTPS + canonical host in ONE 301 rule
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^ https://www.example.com%{REQUEST_URI} [R=301,L,QSA]Next.js next.config.ts (308 permanent redirect)
// next.config.ts — single-hop permanent (308) redirect with query string preserved
export default {
async redirects() {
return [
{
source: "/tools/serp-pixel-width",
destination: "/tools/meta-length-checker/",
permanent: true, // emits HTTP 308 (treated identically to 301 by Google)
},
]
},
}5 real-world redirect failure modes (and how to diagnose them)
- A→B→A proxy & trailing-slash loops: most often triggered by Cloudflare Flexible SSL fighting an origin HTTPS rule, or a CDN adding trailing slashes while the app router strips them. Paste the headers above to pinpoint the exact repeating hop.
- Mass-redirecting discontinued pages to the homepage (Soft 404): redirecting hundreds of deleted product or blog URLs to
/does not “save link equity” — Google treats unrelated homepage redirects as Soft 404s and drops the signals anyway. Redirect only to a genuinely equivalent replacement, or return a clean404/410. - User-Agent or geo-IP conditional redirects: some CDNs redirect US IPs (including Googlebot) to
/en-us/while European visitors see200 OKon/de/. Always inspect with the Googlebot preset +Copy curlabove. - Stale redirecting URLs left inside XML sitemaps, canonicals, or hreflang: every URL in
sitemap.xmlandrel="alternate" hreflangmust return200 OKdirectly. Cross-check with our sitemap checker and hreflang generator. - Dropping query strings / UTM parameters mid-chain: a misconfigured redirect rule that omits
$request_uriorQSAsilently stripsutm_sourceandutm_campaignfrom paid or newsletter links, turning campaign traffic into “Direct” in GA4. Verify campaign links with our UTM builder.
Post-migration verification checklist
- Test all four root variants (
http://,https://, apex,www) and confirm each reaches the canonical URL in ≤1 hop. - Sample your top 20 legacy landing pages by Search Console clicks and verify every one returns
301/308→200. - Update internal links, navigation, canonicals, and
sitemap.xmlto point straight at final200 OKURLs. - Keep permanent migration redirects live for at least 12 months (Google Search Central guidance) so crawlers and external backlinks fully transfer.
- Log the migration date in Search Console monitoring (see how serpvi works) and watch 14- and 28-day click recovery.
Pair this check with our XML sitemap checker, hreflang generator, and UTM builder, or browse all free SEO tools.
Related tools
- Sitemap Checker — Free sitemap checker: find sitemap.xml, validate urlset or sitemap index, count URLs, and flag missing lastmod or malformed XML — no signup.
- Hreflang Generator — Free hreflang generator: build reciprocal HTML link tags and XML sitemap alternates for language/region URLs. Validate codes and x-default — no signup.
- UTM builder — Build campaign links with consistent utm_source, utm_medium and utm_campaign values, with warnings for the mistakes that split your reports.
Questions
- How do I check if a 301 redirect is working properly for SEO?
- Enter the exact legacy URL (including http/https, www/non-www, and trailing slash) above and verify two things: hop 1 returns 301 (or 308) with a Location header pointing straight to the final canonical URL, and hop 2 returns 200 OK with no extra intermediate redirects. If you see a 302/307 or multiple chained hops, flatten the server rule into a single 301.
- How many redirect hops will Googlebot follow?
- Per Google Search Central documentation, Googlebot follows at most 10 redirect hops in a single chain before giving up and logging a redirect error in Search Console. Treat 10 as a hard ceiling, not a target: aim for a single hop (old URL → final 200 URL) to preserve crawl budget and avoid adding unnecessary TTFB latency.
- What is the difference between 301/308 and 302/307 redirects?
- 301 and 308 are permanent redirects — strong signals to Google to index the destination URL and consolidate link signals there. 302 and 307 are temporary — weaker signals that keep the source URL as the preferred canonical. The only difference between 301 vs 308 (and 302 vs 307) is HTTP method preservation: 308 and 307 forbid clients from changing a POST request into GET.
- How do I test whether a site redirects Googlebot differently from browsers?
- Select the Googlebot preset in the tool above, click Copy curl (-A …), run that command in your terminal, and paste the output back into the hop simulator. Our public web fetcher uses a fixed server User-Agent (and cannot spoof verified Googlebot IPs), so pasting local curl headers lets you inspect UA-dependent rules and cloaked chains cleanly.
- Do redirect chains lose PageRank or hurt Core Web Vitals?
- Google has stated that 3xx redirects do not inherently bleed PageRank on their own, but multi-hop chains still hurt SEO in two real ways: each extra hop wastes crawl budget (especially across large e-commerce or migrated sites) and adds a full network round-trip to Time to First Byte (TTFB), delaying Largest Contentful Paint (LCP) for real visitors.
- Why does my site have an infinite redirect loop after turning on HTTPS or Cloudflare?
- The classic cause is Cloudflare SSL mode set to 'Flexible' while your origin server (Nginx/Apache) forces http → https. Cloudflare requests your origin over HTTP, your origin sends 301 → HTTPS, and Cloudflare repeats the cycle endlessly. Switching SSL mode to 'Full (strict)' with a valid origin certificate fixes the loop immediately.
- What are the live check limits of this redirect checker?
- Live URL mode follows up to 8 redirects with a 10-second per-request timeout, enforces SSRF protections (blocking private, loopback, link-local, and metadata IPv4/IPv6 addresses), and applies a modest per-IP rate limit. Paste/simulate mode runs 100% in your browser with no network limit.