Free HTTPS Redirect Checker
Redirect mistakes are the quiet killer of HTTPS migrations. A redirect chain dilutes link equity, a loop breaks the site entirely, and a 302 where a 301 belongs tells search engines the move is temporary. A redirect checker shows exactly what happens for each variant of your domain, so you can fix the chain instead of guessing.
What a correct setup looks like
Every one of these three URLs should return a single 301 to the same canonical HTTPS URL:
http://example.com -> https://example.com
http://www.example.com -> https://example.com
https://www.example.com -> https://example.com
One hop, permanent, no exceptions. Whether you canonicalize to www or non-www is your choice; what matters is that all variants converge in one step.
HTTPS redirect checker: check your redirects
The fastest check is our HTTPS Redirect tool, which shows the full chain for any URL. From the command line, curl does the same job:
curl -sI http://example.com | head -n 3
curl -sIL http://www.example.com | grep -E "HTTP|location"
The -L flag follows the chain, so you see every hop. Look for the status codes and count the location lines: more than one means a chain.
HTTPS redirect checker: what it reveals
| Symptom | Cause | Fix |
|---|---|---|
| Two or more hops | Rules redirect HTTP to www, then www to HTTPS | Rewrite as one rule straight to the canonical HTTPS URL |
| 302 instead of 301 | Temporary redirect left in place after migration | Change to a permanent 301 |
| Redirect loop | Server forces HTTPS while a CDN talks HTTP to it (Flexible SSL) | Use Full (Strict) mode and a real origin certificate |
| Everything goes to the homepage | Wildcard rule drops the path | Preserve $request_uri or the equivalent in the rule |
| HTTP returns 200 | No redirect rule at all | Add one; duplicate content hurts SEO |
Server rules that work
Nginx:
server {
listen 80;
server_name example.com www.example.com;
return 301 https://example.com$request_uri;
}
Apache (.htaccess):
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://example.com%{REQUEST_URI} [R=301,L]
The HTTPS Redirect Generator builds the exact snippet for your server and canonical choice.
Do not forget HSTS later
Once redirects are stable for a few weeks, HSTS tells browsers to skip HTTP entirely, eliminating the redirect for return visitors. Start with a short max-age, verify nothing breaks, then extend it. Confirm the header with the Security Headers Checker.
Related reading: fixing redirect loops, enabling HSTS, updating Search Console after a migration and the HTTPS checker.
Frequently Asked Questions
Is a 302 ever correct for HTTPS?
Only during testing. For a permanent migration, 302 tells search engines to keep indexing the old URL. Switch to 301 as soon as you are confident.
My site loops between HTTP and HTTPS. What is wrong?
Usually a proxy in Flexible mode: the CDN connects to your server over HTTP, your server forces HTTPS, and the cycle repeats. Fix the proxy SSL mode, not the redirect.
Should deep URLs redirect to the homepage?
Never. Each old URL should map to its own HTTPS equivalent. Blanket redirects to the homepage frustrate users and waste the page's ranking signals.
How do I check redirects at scale?
Export your top URLs from Search Console or your sitemap and run them through curl -sIL in a loop. Any URL needing more than one hop goes on the fix list.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.