Short answer
Search the HTTPS page for resources that still load over HTTP, using the console, the address bar, and the HTML. MDN calls that mix of a secure page and an insecure resource mixed content. Browsers upgrade some of those requests and block others. Fix the URL in the source so the page does not depend on that behavior.
Last verified against the sources listed below.
Key takeaways
- Mixed content is an HTTPS page that requests a resource over HTTP or another insecure protocol.
- web.dev calls images, video, and audio passive, and scripts, stylesheets, and iframes active.
- MDN's current labels are upgradable and blockable. Browsers upgrade some image, audio, and video requests and block the rest.
- The console, Chrome's Privacy and security panel, and a search for http:// in the HTML are the practical checks.
- A plain link to an HTTP page is often navigation, which MDN does not treat as mixed content.
How to find mixed content on website pages starts with a single URL that already loads over HTTPS. MDN uses the term for a securely loaded page that then fetches resources over HTTP or another insecure protocol. The connection to the HTML is encrypted, but the extra file is not.
web.dev describes the same split: the initial HTML is HTTPS, while images, video, stylesheets, or scripts come over HTTP. Those insecure requests can be viewed or changed on the path. This check is part of technical SEO, because a page that browsers only half trust is harder to fetch and harder to use.
What counts as mixed content?
Mixed content is an HTTPS page pulling in an insecure subresource. MDN’s examples make the boundary concrete. https://secure.com loading http://insecure.com is mixed content. Two HTTP pages loading each other are not, because neither context is secure.
A secure page that frames a data: URL, which then loads HTTP, is also mixed content. MDN treats the framed data URL as part of the secure page. Loading an HTTPS frame inside an HTTP page is not mixed content by itself. The problem appears if that secure frame then requests HTTP.
The W3C Mixed Content specification, a Candidate Recommendation Draft dated 23 February 2023, defines a request as mixed content when its URL is not potentially trustworthy and the context that loads it prohibits mixed security contexts. An insecure script can read or change data. An insecure image can show a false chart or a misleading button label.
Active, passive, or blocked?
web.dev still teaches two risk labels, and MDN documents the labels browsers use now. Use both, and keep them attached to the page that defines them.
| Label | What that page includes | What happens to the request |
|---|---|---|
| Passive (web.dev) | Images, video, and audio | The file does not run as page code. The risk is replacement or tracking. |
| Active (web.dev) | Scripts, stylesheets, iframes, and other executable code | An attacker who rewrites it can take over the page. Most browsers block it. |
| Upgradable (MDN) | img src, many CSS images, audio, and video |
The browser rewrites http to https, or the load fails. |
| Blockable (MDN) | Scripts, stylesheets, iframes, fetch, fonts, srcset, and the rest |
The browser blocks the request. |
MDN notes that an earlier specification called the same split active (blockable) and passive (optionally blockable). The current rule is different.
Browsers should upgrade image, video, and audio requests from HTTP to HTTPS, and block insecure requests for other types. An image whose host is an IP address is an exception: MDN says that request is blocked instead of upgraded.
img URLs set with srcset are blockable too.
If an HTTP asset also exists on HTTPS, web.dev says Chrome can load the HTTPS copy, and the asset does not load when no secure copy exists.
Where does the browser show it?
The developer tools list the insecure URL, and the address bar can show that the page is not fully secure. MDN says the console warns when mixed content is upgraded or blocked. On older browsers that still show optionally blockable content, an icon appears with the warning.
web.dev’s fixing guide says Chrome reports these problems as errors and warnings in the JavaScript console. Upgraded passive content gets a message.
The console is cleared on every navigation, so one clean page does not clear the rest of the site. Firefox and Safari log in the console. Chromium browsers also use the Issues tab.
The W3C spec describes an in-between security indicator, such as removing the padlock icon, when a page loads mixed content. It also says that indicator did not, by itself, push developers to fix the URLs, which is one reason the spec moved toward autoupgrading.
Look at the address bar, then confirm the cause in the tools. Chrome’s Privacy and security panel is the current DevTools path: under Security, Non-secure origins, choose View requests in Network panel. DevTools then filters the log to non-secure resources.
A whole-site security pass belongs with website security. Mixed content is one hole in an otherwise encrypted page, not a substitute for the certificate or for locking down the account.
How do you search the page?
Check one live URL in the browser, then search the HTML you ship for http://. Do these in order.
- Open the HTTPS page you want to audit. If the address bar itself is HTTP, that is an insecure page, not mixed content. Chrome’s security panel calls that a non-secure main origin.
- Open the console. Note every mixed content warning, and write down the resource URL and the page you found it on. web.dev says the message is only for the page you are viewing.
- Read the address bar. If the browser says the page is not secure, treat that as a prompt to find the insecure subresource, not as the whole diagnosis.
- In Chrome, open DevTools, then Privacy and security, then the Security section. Open Non-secure origins and view those requests in the Network panel.
- Search your templates and CMS fields for
http://. web.dev says to look for tags whose URL attributes use HTTP. Skip a barehrefon a normal link unless it is a download. MDN does not treat top-level navigation as mixed content. - Change the resource to
https://, or to a relative URL on your own host. MDN also says to serve your own files over HTTPS. If the HTTPS URL does not load, web.dev says to use a different host, host a copy you are allowed to host, or remove the resource. - Reload the same page and confirm the warning is gone. Then repeat for the next template. A theme, an ad snippet, or a hard-coded image in old posts can each introduce a new HTTP URL.
If the broken resource is an image you own, compress it before the new upload. The Image Compressor shrinks that file in the browser so the HTTPS copy is the one you publish.
Why does the type change the fix?
A blocked script breaks behavior, and an upgraded image can hide a URL that is still wrong in your source. web.dev says an auto-upgrade message means you can safely change that http:// URL to https:// in your code. Test the HTTPS URL in a tab first. A lock icon on that file’s own URL is a quick check that the host answers securely.
Stylesheets, iframes, and CSS fonts are blockable on MDN, and web.dev lists scripts, stylesheets, and iframes as active. Leaving those URLs on HTTP fails, because browsers block them instead of upgrading them.
MDN’s practical rule is to serve your own content over HTTPS, use relative links or HTTPS links for your files, and use HTTPS copies of files on other sites when they exist. Replacing every http:// with https:// and then checking that those URLs respond is the approach MDN calls the easiest on most sites. Do that in the source. A browser upgrade does not edit your template.
What if the warning will not clear?
The warning usually names a URL you have not changed yet, or a second page that still embeds the old one. Walk the row that matches what you see.
| What you see | Likely cause | What to change |
|---|---|---|
| Console says the request was upgraded | An image, audio, or video URL is still HTTP in the source | Replace it with the HTTPS URL that just loaded |
| Console says the request was blocked | A script, stylesheet, frame, font, or srcset is insecure |
Host an HTTPS copy or remove the tag |
| The picture is missing only for a numeric host | MDN blocks upgrades when the host is an IP address | Serve the file from a domain over HTTPS |
| Address bar still says not secure | Another insecure subresource remains on this page | Read the next console line or the Network filter |
| The homepage is clean and an old post is not | The console resets on navigation | Open that post and search its HTML |
| An HTTPS page offers an HTTP file download | MDN calls that a mixed download | Point the link at an HTTPS file |
MDN’s mixed-download example is an anchor whose href is HTTP and whose download attribute saves the file. Point that href at an HTTPS file.
After the source is clean, reload with the console open. You want no upgrade message and no blocked request on that URL. The next template gets the same pass.
Frequently asked questions
Does an http link in a menu count as mixed content?
Usually no. MDN says a navigation request from a secure page to an insecure top-level page is not mixed content, because it creates a new context that is secure or insecure on its own. The risky case is a subresource, such as an image, script, or stylesheet, fetched into the secure page. A download attribute on an HTTP link is different. MDN calls that a mixed download, and it says browsers commonly block those downloads by default while still letting the person keep or discard the file.
Why would an image URL with an IP address fail when a domain image loads?
MDN says a mixed content request that would otherwise be upgraded is blocked when the host is an IP address rather than a domain name. An image whose src uses a domain can be rewritten from HTTP to HTTPS. The same kind of image whose host is a numeric address is not upgraded. If the picture disappears only on the numeric URL, move the file to a domain that answers on HTTPS, then point the tag at that HTTPS URL.
Are localhost pages treated as insecure?
MDN treats local resources as secure origins, in the same class as HTTPS. That includes file URLs and loopback addresses such as 127.0.0.1 and localhost. You can load those from a secure page and still have a secure context. The mixed content problem starts if that local file then requests something over HTTP. A test page on your machine is not a free pass for insecure images and scripts inside it.
What is an imageset request in the mixed content spec?
The W3C Mixed Content specification says imageset is not upgraded, for historical reasons. Before upgrades, the spec split content into blockable and optionally blockable, and imageset was in the blockable group. When upgrades were added, the working group did not upgrade types that had already been defined as blockable. An img tag that uses srcset is in MDN's blockable list as well. A plain src on img is the case that can be upgraded.
Should a crawler score decide which page to fix first?
Nothing in the MDN, web.dev, or W3C pages assigns a numeric mixed content score. The console warning is tied to the page you are viewing, and web.dev notes that the console is cleared when you navigate. Fix the insecure subresources you can see, then load the next template and look again. A sitewide grade from a third-party crawler is not part of these documents, so it should not outrank a blocked script or a missing image on the page in front of you.
Sources
- Mixed content · MDN, 2026
- What is mixed content? · web.dev, 2026
- Fixing mixed content · web.dev, 2026
- Privacy and security panel · Chrome for Developers, 2026
- Mixed Content · W3C, 2023