A "mixed content" warning, or a missing padlock, means your secure https:// page is loading some images, scripts, or styles over insecure http://.
Find the problem
- Open the page in Chrome, Edge, or Firefox and press F12.
- Click the Console tab. Mixed content warnings list each insecure address.
Fix it
- WordPress: make sure your site address uses https (Settings → General). To update old
http://links saved in your posts, use a search-and-replace plugin from the official WordPress.org directory. Make a backup first. - Joomla: edit the articles, modules, and template settings that contain
http://links and change them tohttps://. - Hard-coded links in themes: change
http://tohttps://in the theme files, or contact the theme developer.
Quick fix
Add this line to the .htaccess file in public_html to ask browsers to load everything securely:
Header always set Content-Security-Policy "upgrade-insecure-requests"
This works for content on websites that support HTTPS. Links to websites that do not support HTTPS still need to be changed or removed.
