“Mixed Content” errors happen when a secure HTTPS webpage tries to load resources—like images, videos, stylesheets, or scripts—over an insecure HTTP connection.
This is a security risk because attackers can modify insecure content, potentially compromising user data or changing how your website behaves.
You can find these errors using your browser’s console:
Google Chrome: Right-click anywhere on the page → select Inspect → click the Console tab.
Firefox: Right-click on the page → select Inspect Element → click the Console tab.
Safari: Enable the Develop menu in Safari’s Advanced preferences → right-click on the page → select Inspect Element → click the Console tab.
In the console, mixed content errors usually appear as warnings that your page is loading content over both HTTP and HTTPS.
The best way to fix these errors is to update all HTTP content to HTTPS. Doing this manually can be tedious, especially for larger sites, so using the Search and Replace plugin is recommended.
Step-by-Step Guide:
Install and activate the Search and Replace plugin from your WordPress dashboard.
Go to Tools → Search & Replace.
In the Search for field, enter your website URL starting with http://.
In the Replace with field, enter your website URL starting with https://.
Click Do Search & Replace.
Important: Back up your database before running this plugin, as the changes cannot be undone.
By ensuring all content loads over HTTPS, you eliminate mixed content errors and improve your website’s security and user trust.