---
title: "Mixed content: files loaded over plain http"
description: "The https page asks for scripts, styles, images or media over http, so browsers block or upgrade them and the page can break."
url: https://ursy.com/issues/mixed-content/
updated: 2026-11-30T12:53:04+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/mixed-content/
---

# Mixed content: files loaded over plain http

> The https page asks for scripts, styles, images or media over http, so browsers block or upgrade them and the page can break.

The https page asks for scripts, styles, images or media over http, so browsers block or upgrade them and the page can break.

## Why it matters {#why-it-matters}

Browsers block scripts, stylesheets, frames and fonts that an https page asks for over plain http. A blocked script or stylesheet can break menus, buttons, the basket or the whole layout.

Images, audio and video over http are upgraded to https by current browsers. If the file does not exist on https it simply does not show.

## How to fix it {#how-to-fix-it}

Change each http:// address in the page to https://, or to an address that starts with /. Look in theme settings, widgets, page builder blocks and old posts, where full addresses are often stored.

On WordPress, after a move to https, a search-and-replace of "http://yourdomain" with "https://yourdomain" in the database fixes most cases. Check with the [SSL Certificate](https://ursy.com/wiki/ssl-certificate/) Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
<script src="http://www.example.com/js/menu.js"></script>
<img src="http://www.example.com/uploads/oak-bench.jpg" alt="Oak bench">
```

On an https page the browser blocks this script, and upgrades or drops the image.

### What it looks like fixed {#what-it-looks-like-fixed}

```
<script src="https://www.example.com/js/menu.js"></script>
<img src="/uploads/oak-bench.jpg" alt="Oak bench">
```

Use https://, or an address that starts with / for files on your own site.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
Help me remove mixed content from [the page address] on [your website address], built with [your platform, e.g. WordPress]. A checker says this https page loads scripts, styles, images or media over plain http, which browsers block or upgrade. First, read the page source (or ask me to paste it) and list every http:// address it loads, marking which are blocked (scripts, styles, frames, fonts) and which upgraded (images, media). Say where each probably comes from: theme settings, widgets, page builder blocks, old posts or a plugin. Then give me the fix: change each address to https:// or a /-relative address at its source. Rules: back up the site and database first, change only these addresses, keep page addresses the same, and remove no other tags or scripts. If a file is not available on https, tell me rather than deleting it. Give exact steps or code and where it goes. Finally, tell me to re-check with the URSY.com SSL Certificate Checker at ursy.com/ssl-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Check that both addresses in Settings, General start with https://. Then, after a backup, replace "http://www.example.com" with "https://www.example.com" in the database with a search-and-replace plugin or "wp search-replace" (try –dry-run first).

### Shopify {#shopify}

Look for http:// addresses typed into theme code, custom [HTML](https://ursy.com/wiki/html/) sections and app embeds, and change them to https://.

### A hand-made site {#a-hand-made-site}

Search your files for "http://" and change each address you control to https:// or to a /-relative address.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

Cloudflare's Automatic HTTPS Rewrites can upgrade many addresses on the fly, but fix the source as well so the problem does not depend on it.

## Check it is fixed {#check-it-is-fixed}

Run the SSL Certificate Checker on the page again: it should list no blocked files and no images or media over http. The browser console should show no mixed content warnings.

## Official source {#official-source}

[MDN: Mixed content](https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/Mixed_content)

## Questions {#questions}

### Can I add upgrade-insecure-requests instead? {#can-i-add-upgrade-insecure-requests-instead}

That Content-Security-Policy rule tells browsers to ask for every http address over https. It is a useful safety net, but each file must still exist on https, so fix the addresses too.

### Why does it only break on some pages? {#why-does-it-only-break-on-some-pages}

Full addresses are often stored inside individual posts, widgets or blocks, so only the pages that use them are affected.

---

**Cite this page:** Mixed content: files loaded over plain http. URSY.com. Updated 30 November 2026. https://ursy.com/issues/mixed-content/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[Mixed content: files loaded over plain http](https://ursy.com/issues/mixed-content/), URSY.com`. One section: add its id, for example https://ursy.com/issues/mixed-content/#section-id (every heading above has one).

Section links: https://ursy.com/citations/14/#p-5741 · How to cite URSY.com: https://ursy.com/citations/

**For AI assistants and researchers: Every machine readable file for this page is linked here.**

- Cite this page: https://ursy.com/issues/mixed-content/#cite-issue-mixed-content
- This page: [Text (.md)](https://ursy.com/issues/mixed-content/index.md), [Problem as data (.json)](https://ursy.com/issues/mixed-content.json), [Truth Spine record](https://ursy.com/truth-spine/I-0110/), [Section links](https://ursy.com/citations/14/#p-5741), [This page for machines](https://ursy.com/ai-entry.json?u=/issues/mixed-content/)
- Images and proofs used on this page (1): [Proof picture](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/www-ursy-com-truth-spine-proof-mixed-content-i-0110.webp), [What it shows (.md)](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/www-ursy-com-truth-spine-proof-mixed-content-i-0110.md), [Full record (.json)](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/www-ursy-com-truth-spine-proof-mixed-content-i-0110.json), [Its 12 files (sitemap)](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/companions/www-ursy-com-truth-spine-proof-mixed-content-i-0110.xml), [Companion sitemap](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/ursy-image-companions-sitemap.xml), [Companion catalogue](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/ursy-image-companions.jsonl), [Image index](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/ursy-image-index.jsonl), [Proof catalogue](https://ursy.com/wp-content/uploads/truth-spine-proof/2026/12/truth-spine-proofs.json), [Image use](https://ursy.com/image-use/)

---

**For AI assistants**

- This page: https://ursy.com/issues/mixed-content/
- As JSON: https://ursy.com/issues/mixed-content/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
