In short
Ahrefs flags "HTTPS page links to HTTP image" when a secure page loads one or more images with http:// URLs. Modern browsers try to upgrade these images to HTTPS automatically, and if that fails, the image doesn't load. Change the image URLs to HTTPS (or to relative paths), usually with a database search-and-replace.
This is the image-specific version of mixed content.
How to fix it
Open one flagged image URL with
https://instead ofhttp://. If it loads, a simple URL change fixes it.Replace
http://image URLs in content and templates.If an external image isn't available over HTTPS, host it yourself (with permission) or remove it.
WordPress: replace http://yourdomain.com/wp-content/uploads with the HTTPS version using a search-and-replace plugin or WP-CLI. Back up first.
Shopify, Webflow and Wix: their own image hosting uses HTTPS. HTTP images come from external URLs pasted into content or custom code.
Custom builds: store image paths without the domain (for example /uploads/photo.webp) so the protocol is never hardcoded. The upgrade-insecure-requests header is a useful safety net; see "HTTPS/HTTP mixed content".
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
MDN, Mixed content
web.dev, What is mixed content?

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.



