|
/ Documentation /General/ Why Am I Seeing Mixed Content or Non-HTTPS Errors?

Why Am I Seeing Mixed Content or Non-HTTPS Errors?

Mixed content errors occur when a web page loaded over HTTPS tries to load resources (like images, CSS, or scripts) over HTTP. This can create security warnings in browsers and may prevent certain elements from displaying properly.

🔍 Example:

If your secure site is https://example.com, but it tries to load a file from http://example.com/style.css, the browser will block it — causing a mixed content error.

What Causes It?

This issue typically happens when your WordPress database still contains old HTTP URLs instead of updated HTTPS ones — especially after adding an SSL certificate.


✅ How to Fix It

You can easily update all URLs in your database using a plugin:

  1. Install the Better Search Replace plugin from the WordPress plugin directory.
  2. Open the plugin and:
    • In the Search for field, enter:
      http://your-site.com
    • In the Replace with field, enter:
      https://your-site.com
  3. Select all database tables.
  4. Uncheck the option that says “Run as dry run”.
  5. Click Run Search/Replace.

This will update all old HTTP links in your database to use HTTPS.


🧹 Final Step

Once the process is complete and your site is working correctly, you can safely deactivate and uninstall the plugin.


Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
%title %title
On this page