Fixing 'Not secure' and mixed-content warnings
Your certificate is installed but the padlock is missing — find the insecure images and scripts and fix them.
Updated 25 August 20262 min read4 views0 found this helpful
Mixed content happens when a secure HTTPS page loads images, scripts or styles over plain HTTP. Browsers then hide the padlock or block the files.
Find the problem
- Open the page in Chrome, press F12 and look at the Console tab.
- Messages that start with "Mixed Content" list each insecure file.
Fix it in WordPress
- In Settings → General, make sure both addresses start with
https://. - Replace old links in the database with a search-and-replace plugin:
http://yourdomain.com→https://yourdomain.com. - Clear your cache plugin and any CDN cache.
Fix it on other sites
Change hard-coded http:// links in your templates to https://, or use relative links.
Header always set Content-Security-Policy "upgrade-insecure-requests"#SSL#mixed content#HTTPS#WordPress
Was this article helpful?
Your vote helps us write better guides.
