In short
Ahrefs flags "HTTP page has internal links to HTTPS" when a page served over HTTP links to HTTPS pages on the same site. Ahrefs could only crawl those HTTP pages because they return content instead of redirecting. The fix isn't the links. It's a site-wide 301 redirect from HTTP to HTTPS, so the HTTP pages stop loading.
The links in this issue point the right way, to HTTPS. What Ahrefs is really telling you is that it found HTTP pages on your site that load normally instead of redirecting.
Why HTTP pages shouldn't load
If both versions load, you have two copies of every page. Google generally prefers HTTPS as the canonical, but visitors who land on the HTTP copy browse without encryption and may see a "Not secure" warning. A permanent redirect is also a strong canonical signal, and it removes the duplicate entirely.
How Ahrefs found the HTTP pages
Usually through one of these:
Old http:// links in your content (see "HTTPS page has internal links to HTTP").
http:// URLs in your XML sitemap.
The crawl's start URL set to http://.
Backlinks to http:// URLs, if backlinks are a crawl source.
Free SEO audit
Not sure which issues matter on your site?
I'll review your site and send you the fixes that matter most, in plain English.
How to fix it
Add a site-wide 301 from HTTP to HTTPS. On cPanel or Apache, use the .htaccess rule from the "Canonical from HTTP to HTTPS" article, or your host's "Force HTTPS" setting.
Make sure the XML sitemap and canonicals list only https:// URLs.
Fix any http:// internal links so users don't hit the redirect.
Recrawl. HTTP pages should now appear under "HTTP to HTTPS redirect", which is a normal notice, and this issue should clear.
WordPress: set both URLs in Settings > General to https, then add the server-level redirect.
Shopify, Webflow and Wix: HTTPS redirects are automatic once SSL is active on the domain. If HTTP pages still load, check the domain's SSL status and DNS setup.
Nginx: add a port-80 server block that returns 301 https://$host$request_uri;.
Custom builds (Node/Express, Next.js and similar): if the app sits behind a proxy or load balancer, redirect when the X-Forwarded-Proto header is http. In Express, set app.set('trust proxy', 1) and use req.secure to check. Checking the raw connection behind a proxy can create a redirect loop.
How to check whether HTTP still loads
Type your domain with http:// in a private browser window, or run:
curl -sI http://example.com/ | head -n 3
If you see HTTP/1.1 301 and a Location: https://... line, you're redirecting. If you see HTTP/1.1 200, the HTTP site is still live, and that's the real problem behind this issue.
A worked example
A site has HTTPS working, but the redirect was only set up for the home page. http://example.com/ redirects, but http://example.com/about/ loads normally. An old directory listing links to the HTTP about page, so Ahrefs crawls it and follows its menu links, which correctly point to HTTPS. Ahrefs then reports "HTTP page has internal links to HTTPS".
Replacing the home-page-only rule with a site-wide rule, like the .htaccess example in the "Canonical from HTTP to HTTPS" article, makes every HTTP URL redirect, and the issue clears.
Common mistakes
Redirecting only the home page or only some folders.
Redirecting HTTP to the HTTPS home page instead of the same path. Visitors and backlinks to deep pages end up in the wrong place.
Forgetting the www variant.
http://www.needs to redirect too.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, How to specify a canonical URL (updated July 10, 2026)
Ahrefs has no help article for this exact issue as of Dec 1, 2026. The explanation follows how Site Audit reports page protocols in related issues.

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.



