How mixed content works
A page delivered over HTTPS is encrypted and tamper-evident. Everything it then asks for — images, stylesheets, scripts, fonts, videos, embedded frames — is a separate request, and each of those can be written with a plain HTTP address. When that happens the page is a mixture: the document itself is protected, some of what it loads is not. Browsers call this mixed content and they do not treat it kindly.
They divide it in two. Passive mixed content is material that only gets displayed, such as an image or a video file. It can be altered in transit, so a browser may block it or strip the padlock, but it cannot take over the page. Active mixed content is anything that can change how the page behaves — scripts, stylesheets, frames, background data requests. A script arriving over an open connection could be swapped for a different one and would then have complete control of the page, so browsers refuse to load it at all. Many browsers also try upgrading insecure requests to HTTPS automatically, and block the request when that fails.
Why mixed content matters
The immediate effect is that things stop working with no error message a visitor can understand. A stylesheet is blocked and the layout collapses. A script is blocked and the enquiry form no longer submits, the menu will not open, or the tracking that was meant to record a lead never fires. Images simply disappear. Nothing in the page tells the visitor why.
It matters for search as well, because search engines render pages before judging them. A blocked script that builds part of the content means that content is not there when the page is assessed. And the padlock the visitor was reassured by either disappears or turns into a warning, on a page that may well be the one asking for their phone number.
Where mixed content comes from
Most of it is left over from a move to HTTPS. Content written years ago holds absolute plain-protocol addresses in the body text, in image tags and in stored database fields, and switching the site over does not rewrite any of them. Themes and plugins that hardcode their own asset paths do the same.
The rest hides in less obvious places: an image referenced inside a stylesheet rather than in the page, a third-party widget or embed that still serves its own files insecurely, an old marketing template, a canonical or hreflang tag written with the wrong protocol. A common mistake is to fix the visible cases, see the padlock return on the home page, and assume the site is clean when interior templates are still affected.
How to act on it
Find it properly rather than by browsing. The browser console names every blocked or upgraded request on the page you are looking at, and a full crawl will find the pages you would never think to open. Fix the source: rewrite stored addresses in the database with a tool that understands serialised data, correct the theme and plugin references, and replace or drop any embed whose provider still serves insecurely.
Treat a policy that upgrades insecure requests automatically as a temporary safety net, not a repair — it hides the symptom while the wrong addresses stay in your content. Once the site is genuinely clean, and only then, consider HSTS to stop the plain protocol being attempted at all. Re-crawl after each change, because moving from HTTP to HTTPS tends to surface these in waves rather than all at once.
