How do I fix mixed content warnings? Print

  • 0

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

  1. Open the page in Chrome, Edge, or Firefox and press F12.
  2. 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 to https://.
  • Hard-coded links in themes: change http:// to https:// 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.


Was this answer helpful?

« Back

Point Action Services © All Rights Reserved