Skip to content

HTTPS and certificate

Mixed content

Mixed content is an HTTPS page that loads scripts, styles, frames or images over plain http://, which breaks the page or weakens its protection.

Scanetra rating: Low to mediumCheck HTM-01

Why it matters

Browsers block active mixed content, so parts of the page stop working. Where it loads, anyone on the network can alter it, including a script that then controls the whole page.

What Scanetra looks for

  • Scripts, frames, stylesheets or embedded objects loaded over http:// (active mixed content).
  • Images, audio or video loaded over http:// (passive mixed content).

It reads only your homepage's public response. How a scan works

How to fix it

Fix the links

Change each http:// address in your templates, theme or content to https://, or host the file on your own site. In WordPress, a search-and-replace of http://your-site to https://your-site in the database fixes most cases.

Safety net

This CSP directive makes browsers request http:// resources over https:// instead. It only works where the other host supports HTTPS, so fix the links too.

Content-Security-Policy: upgrade-insecure-requests

Replace example.com with your own domain, and test changes on a staging copy first where you can.

Check that it worked

The browser console shows no mixed-content warnings. Then scan again.

Check your own site

A free scan tells you whether your site passes this check, and the 24 others.

Scan a website