What a redirect checker shows you
A redirect checker requests a URL the way a browser or Googlebot would, but instead of silently following each redirect it stops and records every hop: the address, the status code, where the Location header points next, how long the server took and what software answered. That turns "the site feels slow" or "Google indexed the wrong version" into a list of specific rules you can fix.
Most sites need exactly one redirect: from whichever version a visitor types to the one canonical address. Anything beyond that is either wasted time or a sign that two rules are fighting each other.
How to check redirects and fix what you find
- Enter the bare domain first. Typing
example.comstarts onhttp://, which is how many visitors and old links arrive. Leave "Check all variants" on to test all four versions at once. - Read the hops top to bottom. Green codes (301, 308, 200) are fine. Amber 302 or 307 codes mean "temporary", so Google may keep the old URL in its index. Red codes are errors.
- Look for chains. A common pattern is
http://wwwtohttps://wwwtohttps://. That is two hops where one would do, usually because the HTTPS rule and the www rule were added at different times. - Switch the User-Agent to Googlebot. If the chain changes, a plugin or CDN is treating crawlers differently from people, which Google can treat as cloaking.
- Copy the suggested .htaccess rules and test again. Fix the redirect first, then add the missing headers.
301, 302, 307 and 308 in one minute
- 301 Moved Permanently: the default for HTTPS, www changes and renamed pages. Ranking signals move to the new URL.
- 308 Permanent Redirect: the same, but the browser must keep the request method, which matters for forms and APIs.
- 302 Found and 307 Temporary Redirect: for genuinely short moves, such as a maintenance page or a seasonal promotion.
- Meta refresh: a redirect inside the HTML. Google follows instant ones, but they are slower and break the back button. Replace them with a server rule.
One rule for all four versions
On Apache and Hostinger, this single rule sends http, https, www and non-www straight to https://example.com in one hop. Swap in your own domain, or build a version with caching and compression in the .htaccess generator:
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://example.com%{REQUEST_URI} [L,R=301]
Before you force HTTPS, confirm the certificate covers both the www and non-www names with the SSL checker. Redirecting to a name the certificate does not cover swaps one problem for a scarier one.
Security headers worth adding
The same response that ends your redirect chain carries security headers, so this tool grades six of them. Strict-Transport-Security stops browsers from ever trying plain http again. X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Permissions-Policy are one line each and almost never break anything. Content-Security-Policy is the most powerful and the easiest to get wrong, so start with the small starter policy this tool suggests, then tighten it. Redirects and headers both sit on the website launch checklist, and they are worth checking again after every host or CDN change.
Frequently asked questions
What is the difference between a 301 and a 302 redirect?
A 301 says the page has moved permanently, so search engines replace the old URL with the new one and pass its ranking signals along. A 302 says the move is temporary, so Google may keep showing the old URL. Use 301 (or 308) for HTTPS, www and renamed pages, and keep 302 or 307 for genuinely short-term moves like a maintenance page.
How many redirects are too many?
Aim for one. Googlebot follows up to 10 hops and browsers give up at around 20, but every extra hop adds a network round trip and wastes crawl budget. If a URL takes two or more hops, point the first one straight at the final address.
Do redirects hurt SEO?
A single permanent redirect passes ranking signals to the new URL with no meaningful loss. Problems come from long chains, temporary codes used for permanent moves, redirect loops, and redirecting many old pages to the homepage instead of to their closest replacement.
What causes ERR_TOO_MANY_REDIRECTS?
It means the redirects form a loop. The usual causes are two rules that disagree (one adds www, another removes it), an HTTPS rule behind Cloudflare or a CDN that cannot see the visitor already uses HTTPS, or a WordPress site URL that does not match the server redirect. Trace the chain to see which hop sends you back.
Should my site use www or non-www?
Either is fine for SEO. What matters is choosing one, redirecting the other three versions (http, https, with and without www) to it in a single 301, and using it consistently in your canonical tags, sitemap and internal links.