Title: SSL and Mixed Content Errors
Last modified: May 29, 2020

---

# SSL and Mixed Content Errors

 *  [itseno](https://wordpress.org/support/users/itseno/)
 * (@itseno)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ssl-and-mixed-content-errors/)
 * Hello!
 * I am working to set up SSL on my Hostek WordPress site, but I keep running into
   Mixed Content Errors. I’ve used a variety of tools to try to get rid of the mixed
   content, a find and replace feature switching all the http:// with https:// as
   well as trying to force the page over SSL, but only the main page seems to have
   the green padlock, most subpages don’t have the padlock, and I believe it is 
   because of the mixed content errors, but I can’t seem to get rid of them.
 * Would anyone be able to help me with this?
    -  This topic was modified 5 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fssl-and-mixed-content-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [dominic_ks](https://wordpress.org/support/users/dominic_ks/)
 * (@dominic_ks)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ssl-and-mixed-content-errors/#post-12911438)
 * Hello,
 * You can investigate what is causing your mixed content errors by using the browser
   console, most browsers you can use **ctrl shft i** to open and select the console.
 * I couldn’t see any errors on the link you posted there, but found one here:
    - [https://blondiesstl.com/lunch-menu/](https://blondiesstl.com/lunch-menu/)
 * The reason for the error on this page is there is an image which is being loaded
   over https:
    - [http://blondiesstl.com/wp-content/themes/piquant/assets/img/preload_pattern.png](http://blondiesstl.com/wp-content/themes/piquant/assets/img/preload_pattern.png)
 * Since you have SSL on the domain, you should be able to load anything over SSL
   from your server.
 * Personally, my process for switching sites to SSL is to use this plugin:
    - [https://en-gb.wordpress.org/plugins/better-search-replace/](https://en-gb.wordpress.org/plugins/better-search-replace/)
 * And then follow this process:
    1. Back up the database
    2. Run a search replace, with all three options checked – i.e. case insensitive,
       replace GUIDs and Run as Dry Run, replacing _[http://blondiesstl.com](http://blondiesstl.com)_
       with _[https://blondiesstl.com](https://blondiesstl.com)_
    3. Assuming no errors occur you should get a confirmation and summary of the number
       of cells found to change but 0 changes made
    4. Re-run the search replace with Run as Dry Run deselected
 * This should replace any references in your database to resources on your server
   with http:// to https:// and remove any errors.
 * Other options you can explore are:
    - Any options your host may offer to automatically forward any http requests
      to https
    - Run your website through CloudFlare who provide free SSL and also offer options
      for auto-forwarding to https
 * Hope that helps.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ssl-and-mixed-content-errors/#post-12911450)
 * I don’t if you already have, try reviewing this tutorial: [https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/](https://www.wpbeginner.com/plugins/how-to-fix-the-mixed-content-error-in-wordpress-step-by-step/)
 * Also try clearing all cache (plugins, browser,server…).
 *  Thread Starter [itseno](https://wordpress.org/support/users/itseno/)
 * (@itseno)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ssl-and-mixed-content-errors/#post-12911787)
 * [@dominic_ks](https://wordpress.org/support/users/dominic_ks/) Thank you for 
   the help. We tried running the better search replace plugin and were able to 
   change a good amount of the site’s http to https requests.
 * The search with the following: [http://blondiesstl.com%26/#8221](http://blondiesstl.com%26/#8221)
   did not result in any items, it said 0 cells found and 0 changes made.
 * We called our hosting provider as well, Hostek, to discuss automatically forwarding
   any http requests to https, but even when we changed the .htaccess to accomplish
   this, no results:
 * # Only trigger rule if a non-ssl port is being used
    RewriteCond %{SERVER_PORT}!
   443 # Redirect to HTTPS RewriteRule (.*) [https://www.example.com/$1](https://www.example.com/$1)[
   R=301]
 * Finally, we explored Cloudflare, but we have our own dedicated SSL, so we aren’t
   sure how Cloudfare would interact with our site.
 * Do you have any additional advice?
 *  [dominic_ks](https://wordpress.org/support/users/dominic_ks/)
 * (@dominic_ks)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ssl-and-mixed-content-errors/#post-12915709)
 * Hello,
 * I don’t know where some of those characters came from, you’re just looking to
   search this:
    - [http://blondiesstl.com](http://blondiesstl.com)
 * And replace with this:
    - [https://blondiesstl.com](https://blondiesstl.com)
 * i.e. replace instances of your site url that only has http with https.
 * I’m not very big on using .htaccess manually for this purpose, but couldn’t help
   but notice that your pasted code had example.com in it, I assume you changed 
   it for your own domain…?
 * CloudFlare – yes the idea here is that you use their SSL certificate rather than
   your own, but just looks like you’re using a regular free LetsEncrypt certificate?
   If so, I have found that they work as well as each other.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘SSL and Mixed Content Errors’ is closed to new replies.

## Tags

 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [dominic_ks](https://wordpress.org/support/users/dominic_ks/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/ssl-and-mixed-content-errors/#post-12915709)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
