Upgradable
- Treatment
- Request is upgraded from http to https automatically
- Examples
- img src, CSS background images, audio src, video src
A secure page asked for an http resource, so the browser blocked it. See which resources get upgraded or blocked, how to find them, and how to fix every one.
blocked:mixed-content means an HTTPS page tried to load a script, stylesheet, frame or other resource over plain HTTP and the browser refused. Browsers auto-upgrade images, video and audio to HTTPS and block everything else. Fix it by serving every resource over HTTPS, then check the DevTools console and Issues tab for what is left.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
mixed-content next to csp and origin.You cause this, not the visitor. A page or script on your site references an http:// URL. The visitor's browser then protects them, because an insecure request can be viewed or changed by someone on the network. web.dev warns that with active mixed content, attackers can take complete control over the page. MDN adds that scripts are particularly dangerous because they can modify any aspect of the page.
MDN notes that for upgradable content the remote server either responds or returns a not-found status, so an image that has no HTTPS version simply fails to load.
MDN says the developer console shows warnings when mixed content is upgraded or blocked. web.dev adds that Chrome logs detailed messages to the Issues tab in DevTools and lists each insecure resource with a restriction status. Firefox and Safari log messages in the console.
Chrome's Network panel accepts a mixed-content:all filter, and mixed-content:displayed for the ones that were displayed.
MDN suggests a desktop crawler or CLI tool that checks the site recursively and reports links to insecure content, and an online checker.
MDN says this is the default in Safari, and that most browsers have a setting to block it all. Pages that work with it on have no mixed content left.
http:// links with https:// and verify that each still works.Look in templates, theme settings, database content, CSS files and third-party snippets. Change http:// to https:// or to a relative path.
If the other host has no HTTPS version, the request fails. Self-host the file or replace the service.
Blockable content includes fetch() and XMLHttpRequest. An https page calling an http API is blocked, so serve the API over HTTPS.
upgrade-insecure-requests makes the browser treat all of a site's insecure URLs as if they were HTTPS. MDN says it is intended for sites with large numbers of insecure legacy URLs.
Content-Security-Policy: upgrade-insecure-requests;Treat the directive as a safety net, not the fix. MDN says that if the resource isn't available over HTTPS, the request fails without falling back to HTTP, and that the directive doesn't replace the Strict-Transport-Security header. Navigational links to other sites are not upgraded.
Related errors: Refused to apply style (MIME type).
4 questions people ask next, answered from the sources on this page.
An HTTPS page asked for a resource over HTTP and the browser blocked it. It auto-upgrades images, video and audio, and blocks the other resource types.
Serve every resource over HTTPS. Replace http:// URLs in your templates, content and scripts with https:// or relative paths, and confirm each resource exists over HTTPS.
Don't ask visitors to. Browsers block it to protect users, and a setting on your own machine doesn't help anyone else. Fix the insecure URLs on the site.
It upgrades insecure subresource requests to HTTPS before they're sent. If the resource isn't available over HTTPS, the request fails with no HTTP fallback.
Run the free audit, then approve the fixes. Every change can be undone.