Mixed Content Checker: Find Insecure Assets
Mixed content happens when an HTTPS page loads some of its resources, such as images, scripts or stylesheets, over plain HTTP. Browsers either block those requests or mark the page as not fully secure. The certificate is not the problem. The page itself still references http:// URLs.
Mixed content checker: active and passive types
| Type | Examples | Browser behaviour |
|---|---|---|
| Active | Scripts, stylesheets, iframes, fetch and XHR calls | Blocked |
| Passive | Images, audio, video | Usually auto-upgraded to HTTPS where possible, otherwise warned about |
Active mixed content is the more serious one because a tampered script can control the whole page.
Mixed content checker: find it in the browser
- Open the page and open Developer Tools with F12.
- Go to the Console tab. Each blocked or insecure request is logged with its URL.
- In the Network tab, filter by "http:" to list requests that do not use HTTPS.
- Check the Security tab in Chromium browsers for an overview.
For a whole site, search your source files and database for the string "http://". Pay attention to hard-coded links in templates, widgets and custom CSS (background-image URLs).
Fix it at the source
- Change http://example.com/img.png to https://example.com/img.png where the host supports HTTPS.
- Use a relative path such as /img/logo.png for your own files.
- Replace third-party embeds with their HTTPS versions, or remove ones that have no HTTPS option.
WordPress
Update the Site Address and WordPress Address to https:// in Settings, General. Then replace old URLs stored in the database with a search-and-replace tool such as WP-CLI:
wp search-replace 'http://example.com' 'https://example.com' --all-tables --dry-runRun it with --dry-run first, review the counts, then run it without the flag. Take a database backup before the real run.
A safety net: upgrade-insecure-requests
This header tells browsers to treat HTTP subresource URLs as HTTPS:
# Nginx
add_header Content-Security-Policy "upgrade-insecure-requests" always;It helps while you clean up, but it only works when the resource really exists over HTTPS. Treat it as a stop-gap, not a replacement for fixing the URLs.
Confirm the fix
Reload with the console open and check that no mixed content warnings remain. Then run the SSL Checker for the certificate, the Security Headers checker for your CSP, and make sure HTTP redirects to HTTPS with the Redirect Checker.
Third-party content that causes it
Old embeds are a frequent source: a video player, a tracking pixel, a font loaded from a CDN with an http:// URL, or an ad tag that was copied years ago. Check each one in the Network tab, see whether the provider offers an https:// URL, and replace it. If a provider has no HTTPS option, remove it or host a copy of the file yourself if the licence allows.
Also look at CSS files. A background-image: url(http://...) rule is easy to miss because the image is not in the page HTML. Searching your stylesheets for "http://" finds these quickly.
Related reading: fixing mixed content in WordPress and HTTPS best practices.
Frequently Asked Questions
Why is my padlock missing when the certificate is valid?
The page probably loads at least one resource over HTTP. Check the console for the insecure URL.
Will the browser fix mixed content automatically?
Modern browsers upgrade many images and media, but block scripts and styles. Do not depend on it.
Does mixed content affect SEO?
It can hurt user trust and may break page features, which affects engagement. It also creates inconsistent URL signals during an HTTPS migration.
How do I find mixed content in a database?
Search the content tables for "http://" followed by your domain, and use a search-and-replace tool that handles serialized data.
Can I fix mixed content without editing the theme?
Partly. upgrade-insecure-requests makes the browser request subresources over HTTPS, which hides the warning, but the stored http URLs stay and other clients still see them.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.