Performance + SEO + UX Intelligence

Mixed Content Checker: Find the HTTP Files Breaking Your Padlock

|
Published:
|
Updated:

An HTTPS page that loads even one script, stylesheet or image over plain http:// is "mixed content". Browsers block some of it and flag the rest. Enter a URL to list every insecure request the page makes while it loads in a real browser. Free with a Google sign-in.

Free · No signup required · Results in about a minute

Goal

0

http:// requests on an HTTPS page

Blocked by browsers

Scripts

Plus stylesheets, iframes and fetch requests

Usual fix

https://

Change the URL, or add upgrade-insecure-requests

Introduction

Moving a site to HTTPS is not finished when the certificate is installed. Old posts, theme files and plugin settings often still contain http:// links to images, scripts and fonts. Each of those is mixed content: an insecure file inside a secure page.

Browsers handle it in two ways. Files that can change the page, such as scripts and stylesheets, are blocked outright, which can break menus, forms and layouts. Images, audio and video are upgraded to HTTPS where possible, and if the file is not available over HTTPS it fails to load.

This checker loads your page in a real browser and lists every request it makes over plain http://, so you know exactly which files to fix.

Why Mixed Content Matters

Broken features: a blocked script or stylesheet can leave a page unstyled or a checkout button dead, and the cause is only visible in the browser console.

Lost trust: visitors notice when the padlock is missing or the address bar says "Not secure", especially on pages that ask for an email address or card details.

Security: anything loaded over HTTP can be read or changed by someone on the same network. One insecure script is enough to inject code into an otherwise secure page.

What the Checker Looks At

Insecure requests

Every http:// URL requested while the page loads, including files requested by third-party scripts.

HTTPS redirect

Whether the http:// version of the page redirects to HTTPS, so visitors never land on the insecure version.

Third-party script integrity

Scripts and styles loaded from public CDNs without a Subresource Integrity hash.

Cookie flags

Cookies set without the Secure flag, which would be sent over plain HTTP.

Mixed content results are in the Server Security section of your report, which needs a free Google sign-in.

How It Works

Site Vitals opens your page in a headless Chrome browser and records every network request while it loads, the same list you would see in the browser's network panel.

It reports any request whose address starts with http://. Because the list comes from a real page load, it includes files added by JavaScript and third-party widgets, not only those written in the HTML.

It checks one page at a time. Browsers silently upgrade some image links, so those may not show up as insecure requests; it is still worth searching your templates and database for "http://" after a migration.

How to Fix Mixed Content

  1. 1. Find the insecure files

    Run the checker on your main templates: home page, a blog post, a product page and the checkout.

  2. 2. Change the URLs

    Replace http:// with https:// in the theme, settings and content. For files on your own domain, a relative path also works.

  3. 3. Update the database

    In WordPress and similar CMSs, old posts store absolute URLs. Use a search-and-replace tool that handles serialized data.

  4. 4. Replace or drop old third parties

    If a widget or font host does not support HTTPS, switch to one that does, or self-host the file.

  5. 5. Add a safety net

    Send the header "Content-Security-Policy: upgrade-insecure-requests" so browsers try HTTPS for any links you missed.

  6. 6. Scan again

    Confirm the checker reports that all resources load over HTTPS.

Common Causes of Mixed Content

Absolute http:// image URLs saved inside old posts and pages before the move to HTTPS.

A CMS "site URL" setting still set to http://, which makes every generated link insecure.

Hard-coded http:// links to Google Fonts, jQuery or analytics scripts in an old theme.

Embeds and iframes copied from services that once offered only HTTP.

Inline CSS background images with http:// URLs, which are easy to miss in a code search for "src=".

Types of Mixed Content

What the browser does depends on what kind of file it is.

File typeBrowser behaviourEffect
Scripts, stylesheets, iframesBlockedFeatures or layout break
fetch and XHR requestsBlockedData fails to load
Images, audio, videoUpgraded to HTTPS, else failsMissing media or a warning
Form posting to http://Warning before submittingVisitors hesitate or leave

Mixed Content Best Practices

Use https:// or relative URLs everywhere; never protocol-relative "//" links in new code.

Redirect all HTTP traffic to HTTPS with a 301 and add an HSTS header once that is stable.

Add "upgrade-insecure-requests" as a backstop, not as a replacement for fixing the URLs.

Check new plugins, embeds and ad scripts on a staging page before they go live.

Re-scan after migrations, theme changes and CDN switches.

Frequently Asked Questions

What is mixed content?

Mixed content is any file loaded over plain http:// on a page served over https://. The page itself is encrypted, but the insecure file is not, so it can be read or changed in transit.

Why does my site say "Not secure" even though I have SSL?

A valid certificate is only half of it. If the page loads files over http://, or a form submits to an http:// address, browsers drop the padlock or show a warning. Fixing the insecure URLs brings the padlock back.

Does upgrade-insecure-requests fix everything?

It tells browsers to request http:// files over HTTPS instead. That works only if the file is actually available over HTTPS, so it is a safety net rather than a full fix.

Does mixed content affect SEO?

Google uses HTTPS as a light ranking signal and indexes the HTTPS version of pages. Mixed content mainly hurts through broken features and lost trust, which affect how visitors use the page.

Do I need to sign in?

Yes, mixed content results are in the Server Security section, which needs a free Google sign-in. Speed and SEO results are open without an account.

Summary

Mixed content is one of the most common leftovers of an HTTPS migration. It breaks features quietly and removes the padlock visitors look for.

A scan lists the exact files to fix, and most fixes are a find-and-replace from http:// to https://.

Check Your Page for Mixed Content

List every file your HTTPS page still loads over http://, plus redirect, integrity and cookie checks.