In short
Ahrefs flags "HTTPS to HTTP redirect" when an HTTPS URL redirects to an HTTP URL. Browsers may warn visitors, data is no longer encrypted, and it conflicts with Google's preference for HTTPS. It usually comes from an old rule written before the site moved to HTTPS, or a hardcoded HTTP target. Change the target to HTTPS, and make sure HTTP redirects to HTTPS everywhere.
This redirect goes the wrong way: from a secure page to an insecure one.
Common causes
| Cause | Fix |
|---|---|
Old redirect rules with http:// targets |
Edit targets to https:// |
| Site Address set to HTTP in the CMS | Change it to HTTPS |
| A subdomain or section without an SSL certificate | Install a certificate (cPanel's AutoSSL is free) |
| App behind a proxy building HTTP URLs | Trust the proxy's protocol header |
How to fix it
Trace the redirect with
curl -sILto find which rule sends it to HTTP.Change the target to HTTPS.
Confirm that the HTTP version then redirects back to HTTPS in one hop, so there's no loop.
WordPress: check Settings > General (both URLs must start with https://), then redirect plugin rules and .htaccess.
Shopify, Webflow and Wix: HTTPS is on by default, so this usually comes from a redirect rule with an http:// target, or from an external domain. Edit the rule.
Custom builds: in Express behind a proxy, set app.set('trust proxy', 1) so the app knows requests arrived over HTTPS.
Common mistakes
Fixing the redirect but leaving HTTP links in content, which then bounce through extra redirects.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, Redirects and Google Search
Google Search Central Blog, HTTPS as a ranking signal (Aug 2014)

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



