Tag: mixed-content

  • Mixed Content, Explained With a Sandwich

    Mixed Content, Explained With a Sandwich

    Imagine ordering a sandwich from a very clean, certified restaurant. Fresh bread, sealed packaging, a hygiene certificate on the wall. Then you notice one slice of cheese was picked up off the street.

    You probably wouldn’t eat it. Neither will your browser.

    What mixed content is

    When your page loads over HTTPS (secure), but some of the things inside it (images, scripts, styles, fonts, iframes) load over plain HTTP (not secure), that’s mixed content.

    What browsers do about it

    • Scripts, styles and iframes over HTTP are blocked outright. Whatever they were supposed to do just doesn’t happen, and an error shows up in the console.
    • Images, audio and video are usually upgraded to HTTPS automatically. If the HTTPS version doesn’t exist, they fail to load.
    • The padlock in the address bar may change to warn the visitor.

    How it sneaks in

    • Old posts written before the site moved to HTTPS, with hard-coded http:// image links
    • Page builder settings or widgets with an old URL saved inside them
    • Third-party embeds copied years ago

    How to find it

    Open the browser console on each important page and look for “Mixed Content” messages. Or let a monitoring tool do it on a schedule, since mixed content often appears on old pages nobody visits anymore, until a customer does.

    Our own System Status page has one on purpose, if you’d like to see what the error looks like.