How to Fix WordPress Mixed Content Warnings
Mixed content warnings appear when your WordPress site is served over HTTPS but still loads some resources - like images, scripts, or stylesheets - over HTTP. Browsers block or flag these insecure resources, which can break your site's appearance and hurt trust with visitors. Here's how to fix it on dotCanada hosting.
Why Does This Happen?
Mixed content typically occurs after migrating to HTTPS. Old posts, pages, or theme settings may still reference http:// URLs that were hardcoded before SSL was enabled.
Method 1: Use the Really Simple SSL Plugin
The easiest fix is to install the Really Simple SSL plugin from the WordPress plugin directory. It automatically detects your SSL certificate and updates resource URLs to HTTPS. It also handles common .htaccess redirect rules to ensure all traffic uses HTTPS.
Method 2: Search and Replace in phpMyAdmin
For a more thorough fix, use phpMyAdmin to update your database directly:
- Log in to cPanel and open phpMyAdmin
- Select your WordPress database
- Go to the SQL tab and run a search-and-replace query to update
http://yourdomain.catohttps://yourdomain.caacross all tables
The Better Search Replace plugin is a safer, user-friendly alternative to running raw SQL.
Method 3: Update WordPress and Site URLs
Ensure both your WordPress Address and Site Address in Settings > General are set to use https://.
If you're still seeing warnings after trying these steps, contact our support team for assistance.
100% Satisfaction Guarantee
We're so confident you'll love dotCanada that we offer a 30-day money-back guarantee. Not satisfied? Get a full refund, no questions asked.
Ready to Get Started?
Join thousands of Canadian website owners who trust dotCanada for reliable, fast web hosting.
Get Started Today
