How to Diagnose and Fix a Mixed Content Warning on Your Small Business Website
Summary
This guide helps you troubleshoot and resolve: How to Diagnose and Fix a Mixed Content Warning on Your Small Business Website. Follow the steps below to fix the issue.
Common Causes
Your website may display a security warning in visitors' browsers even though your SSL certificate is active and installed correctly. This is known as a mixed content warning. It occurs when a secure HTTPS page loads certain resources—such as images, stylesheets, scripts, or fonts—over an insecure HTTP connection. Modern browsers block or flag this content to protect users, which can damage visitor trust and harm your business reputation. Mixed content warnings can also negatively impact your search engine optimisation (SEO), as Google prioritises secure websites in search results and may flag insecure pages to users.
This guide explains how to identify mixed content and update your website so every resource loads securely. If you are not comfortable editing code or files, we recommend testing changes on a staging site first or contacting our support team for assistance.
Quick Fix Steps
- Open your website in Google Chrome or Microsoft Edge.
- Press
F12to open Developer Tools. - Select the Console tab.
- Refresh the page and look for warnings labelled
Mixed Content. - Note the insecure HTTP URLs listed in each warning.
- Update those URLs from
http://tohttps://in your content management system or website files. - Clear your website cache and browser cache.
- Reload your website and verify the padlock icon appears in the address bar.
Identify Mixed Content Using Browser Developer Tools
- Open your website in Google Chrome or Microsoft Edge.
- Press
F12(Windows) orCommand + Option + I(macOS) to open Developer Tools. - Click the Console tab at the top of the Developer Tools panel.
- Refresh your website page.
- Scan the console output for messages beginning with
Mixed Content:. Each message will show the insecure resource URL being blocked or downgraded. - Copy the full list of HTTP URLs so you can update them in the next step.
- Check your website's RSS feed, XML sitemap, and canonical tags for any remaining HTTP URLs, as these can also trigger security warnings.
Update Insecure Links to HTTPS
- Log in to your website's content management system (for example, WordPress or Joomla) or your hosting control panel file manager.
- Open the affected page, post, theme file, or template where the insecure resource is embedded.
- Locate every instance of
http://in image sources, script tags, stylesheet links, iframe embeds, or font references. - Change
http://tohttps://for each resource, ensuring the destination domain actually supports HTTPS. - Save the file or publish the page.
- If your website uses a database, search and replace all instances of your site's HTTP URL with the HTTPS equivalent using a trusted search-and-replace tool or plugin.
WordPress Specific Instructions
- Log in to your WordPress admin dashboard.
- Navigate to Settings > General in the left-hand menu.
- Update the WordPress Address (URL) field to use
https://. - Update the Site Address (URL) field to use
https://. - Click the Save Changes button at the bottom of the page.
- Install and activate the Really Simple SSL plugin from the WordPress plugin repository to automatically detect and fix mixed content issues.
- Connect to your website via FTP or your hosting file manager and open
wp-config.phpin a text editor. - Search for any hardcoded
http://URLs, such asWP_HOMEorWP_SITEURLdefinitions, and update them tohttps://. - Save the file and upload it back to your server if you edited it locally.
Force HTTPS Across Your Website
- Check with your hosting provider for the correct method to force HTTPS on your server, as configuration varies between Apache, Nginx, and other web servers.
- If your hosting uses Apache with
.htaccesssupport, add a redirect rule that sends all HTTP traffic to HTTPS, or enable the Force HTTPS option if your control panel provides one. - Save the file and test that visiting
http://yourdomain.com.auautomatically redirects tohttps://yourdomain.com.au.
Test Changes on a Staging Site First
Before applying changes to your live website, we strongly recommend testing them on a staging site. A staging site is a private copy of your website where you can verify that updating URLs to HTTPS does not break your layout, functionality, or plugins. Once you confirm the padlock icon appears and mixed content warnings are gone, you can push the changes to your live site.
Troubleshooting
Warnings Persist After Updating Links
- Clear your website cache, server cache, and any caching plugin. For WP Rocket, go to WP Rocket > Clear Cache in your WordPress admin menu. For W3 Total Cache, go to Performance > Purge All Caches.
- Clear your browser cache or test in an incognito/private window.
- Check that external resources (such as embedded videos, fonts, or analytics scripts) are loaded from HTTPS sources.
- Review your Content Security Policy (CSP) headers, as they may block or report mixed content even after links are updated.
- Check your RSS feed, sitemap, and canonical tags for hardcoded HTTP URLs.
Padlock Still Not Showing
- Verify your SSL certificate is valid and not expired.
- Run your domain through an online SSL checker to confirm the certificate is installed correctly across the full certificate chain.
- Ensure your website's home URL and site URL settings are configured to use
https://.
Third-Party Resources That Do Not Support HTTPS
If a third-party service (such as an embedded widget, external script, or older analytics tool) does not support HTTPS, you have three options:
- Contact the provider and ask if they offer a secure HTTPS version of their resource.
- Host the resource locally on your own server, provided you have the right to do so.
- Remove the resource from your website if it is not essential and no secure alternative exists.
Avoid loading any resource over HTTP on an HTTPS page, as this will continue to trigger mixed content warnings for your visitors.
If you host with us, you don't need to do this yourself — just Open a Ticket and our Brisbane team will get it sorted.
If you have followed these steps and your website continues to display security warnings, Open a Ticket for further investigation.
Still Having Issues?
💻 Open a Ticket