# blocked:mixed-content

> 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.

Canonical: https://scaplet.com/errors/browser/blocked-mixed-content

Guide Error · Browser

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.

4 min

read

5

sources

Oct 21, 2026

updated

Scaplet Editorial Team

author

In one line

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.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Fblocked-mixed-content%20(%22blocked%3Amixed-content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Fblocked-mixed-content%20(%22blocked%3Amixed-content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Fblocked-mixed-content%20(%22blocked%3Amixed-content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Fblocked-mixed-content%20(%22blocked%3Amixed-content%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 4 minutes.

1. [What blocked:mixed-content means 01](#what-blocked-mixed-content-means)
2. [Find every blocked request 02](#find-every-blocked-request)
3. [Fix it 03](#fix-it)
4. [Related errors 04](#related-errors)
5. [What it does to SEO 05](#what-it-does-to-seo)

_01_What the browser does, per MDN

## What blocked:mixed-content means

MDN defines [mixed content](/seo-issues/mixed-content-issue) as a securely loaded page that uses resources fetched over HTTP or another insecure protocol. web.dev puts it the same way: the page's initial HTML is loaded over [HTTPS](/glossary/https), but other resources such as images, videos, stylesheets and scripts are loaded over an insecure HTTP connection. The label you searched for matches a reason name in Chrome's DevTools Protocol: its list of reasons a request can be blocked includes `mixed-content` next to `csp` and `origin`.

Resource type

### Upgradable

Treatment

Request is upgraded from http to https automatically

Examples

img src, CSS background images, audio src, video src

Resource type

### Blockable

Treatment

Request is blocked

Examples

script src, link href (stylesheets), iframe src, fetch(), XMLHttpRequest, @font-face, object data, sendBeacon, img via [srcset](/glossary/responsive-images) or picture

Resource type

### Upgradable, but host is an IP address

Treatment

Blocked instead of upgraded

Examples

<img src="http://93.184.215.14/image.png">

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](/seo-issues/no-https) version simply fails to load.

_02_How it works

## Find every blocked request

**Check it in 2 minutes**Open the page, open DevTools, and read the Issues tab. Every row named for mixed content gives the resource URL. Fix the URL at its source, reload, and watch the row disappear.

1. 01

### Open the console and Issues tab

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.
2. 02

### Filter the Network panel

Chrome's Network panel accepts a `mixed-content:all` filter, and `mixed-content:displayed` for the ones that were displayed.
3. 03

### Crawl the site

MDN suggests a desktop crawler or CLI tool that checks the site recursively and reports links to insecure content, and an online checker.
4. 04

### Test with all mixed content blocked

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.

_03_How it works

## Fix it

MDN's strategy is to serve all content as HTTPS: serve everything from your domain over HTTPS, make references to your own resources relative or HTTPS, and use the HTTPS version of other sites' resources where it exists. The easiest approach, it says, is often to replace all `http://` links with `https://` and verify that each still works.

1. 1

### Fix the URL where it's written

Look in templates, theme settings, database content, CSS files and third-party snippets. Change `http://` to `https://` or to a relative path.
2. 2

### Check each third-party URL

If the other host has no HTTPS version, the request fails. Self-host the file or replace the service.
3. 3

### Look at API calls

Blockable content includes fetch() and XMLHttpRequest. An https page calling an http API is blocked, so serve the API over HTTPS.
4. 4

### Consider the CSP directive for legacy content

`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.

Upgrade every insecure subresource request

```
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.

_04_Explained

## Related errors

Mixed content is about resources on a page that did load. If the page itself won't open because of its certificate, see [Your connection is not private](/errors/browser/your-connection-is-not-private-chrome). If a blocked request is a cross-origin API call, also read [Access-Control-Allow-Origin](/errors/browser/access-control-allow-origin), because an http target can also surface as a [CORS](/glossary/cors) failure.

_05_Explained

## What it does to SEO

The SEO side of mixed content, including the audit signal, is on [mixed content](/seo-issues/mixed-content-issue). A site still on plain HTTP is a different problem, covered at [no HTTPS](/seo-issues/no-https), and [HTTPS](/glossary/https) explains the protocol. The practical effect here is on [rendering](/glossary/rendering): a blocked script or stylesheet is a resource that never loads, so the page can lose that script or stylesheet.

Related errors: [Refused to apply style (MIME type)](/errors/browser/refused-to-apply-style-from-because-its-mime-type).

Sources · 5

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- mozilla.org
- web.dev
- github.io
- chrome.com

1. 01 [MDN: Mixed content](https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Mixed_content) developer.mozilla.org · checked 2026-10-25
2. 02 [web.dev: What is mixed content?](https://web.dev/articles/what-is-mixed-content) web.dev · checked 2026-10-25
3. 03 [MDN: upgrade-insecure-requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/upgrade-insecure-requests) developer.mozilla.org · checked 2026-10-25
4. 04 [Chrome DevTools Protocol: Network, BlockedReason](https://chromedevtools.github.io/devtools-protocol/tot/Network/#type-BlockedReason) chromedevtools.github.io · checked 2026-10-25
5. 05 [Chrome DevTools: Network features reference](https://developer.chrome.com/docs/devtools/network/reference) developer.chrome.com · checked 2026-10-25

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What does blocked:mixed-content mean?

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.

_02_ How do I fix mixed content errors?

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.

_03_ How do I enable mixed content in Firefox or Chrome?

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.

_04_ Does upgrade-insecure-requests fix it?

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.

## Keep learning

[All errors](/errors)

[Learn Access-Control-Allow-Origin Browser errors](/errors/browser/access-control-allow-origin) [Related HTTPS Crawling and indexing](/glossary/https) [Read next Your connection is not private in Chrome (on every site) Browser errors](/errors/browser/your-connection-is-not-private-chrome) [Do Run a free site audit Free, about two minutes](/site-audit)

More in Browser errors
[Access-Control-Allow-Origin](/errors/browser/access-control-allow-origin) [Aw, Snap!](/errors/browser/aw-snap) [blocked:mixed-content](/errors/browser/blocked-mixed-content) [Chrome out of memory](/errors/browser/chrome-out-of-memory) [Firefox Server Not Found](/errors/browser/firefox-server-not-found) [Firefox: "Secure Connection Failed"](/errors/browser/firefox-secure-connection-failed) [Firefox: File not found](/errors/browser/firefox-file-not-found) [Firefox: the connection has timed out](/errors/browser/firefox-the-connection-has-timed-out) [Firefox: Warning: Potential Security Risk Ahead](/errors/browser/firefox-warning-potential-security-risk-ahead) [Refused to apply style ... because its MIME type](/errors/browser/refused-to-apply-style-from-because-its-mime-type) [Safari can't find the server](/errors/browser/safari-can-t-find-the-server) [Safari can't open the page](/errors/browser/safari-can-t-open-the-page) [Safari: "This Connection Is Not Secure" and related warnings](/errors/browser/safari-this-connection-is-not-private) [SSL certificate problem: unable to get local issuer certificate](/errors/browser/ssl-certificate-problem-unable-to-get-local-issuer-certificate) [Text content does not match server-rendered HTML](/errors/browser/text-content-does-not-match-server-rendered-html) [This page isn't working](/errors/browser/this-page-isn-t-working) [This site can't provide a secure connection](/errors/browser/this-site-can-t-provide-a-secure-connection) [Uncaught ReferenceError: x is not defined](/errors/browser/uncaught-referenceerror-is-not-defined) [Uncaught TypeError: Cannot read properties of undefined](/errors/browser/uncaught-typeerror-cannot-read-properties-of-undefined) [Your connection is not private](/errors/browser/your-connection-is-not-private) [Your connection is not private in Chrome (on every site)](/errors/browser/your-connection-is-not-private-chrome)

Terms on this page
[HTTPS](/glossary/https) [Responsive images](/glossary/responsive-images) [CORS](/glossary/cors) [Rendering](/glossary/rendering)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
