Title: Mixed content over HTTPS
Last modified: September 1, 2016

---

# Mixed content over HTTPS

 *  Resolved [sbskamey](https://wordpress.org/support/users/sbskamey/)
 * (@sbskamey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/)
 * Hi Community,
 * I need some help on this. I am not a developer so please bear with me.
 * I have recently got my host to switch on the SSL and the site is now secure. 
   However in the search console, I am still getting error messages like this:
 * Mixed Content: The page at ‘[https://xxxxx.com&#8217](https://xxxxx.com&#8217);
   was loaded over HTTPS, but requested an insecure image ‘[http://xxxxx.com/wp-content/uploads/2015/05/sbs-300.png&#8217](http://xxxxx.com/wp-content/uploads/2015/05/sbs-300.png&#8217);.
   This content should also be served over HTTPS.
 * Can someone please shed some light on why my wp-content/uploads folder is not
   being served over HTTPS?
 * Thanks so much!
 * Kaam

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

 *  [Borge](https://wordpress.org/support/users/joeborge0914/)
 * (@joeborge0914)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7554968)
 * You can check the settings of your dashboard.
    Settings >General Change http://
   to https:// this way it will change the site URL in the database for Both site
   URL and home URL
 * or add these following in your wp-config.php
 * define(‘WP_HOME’,’[https://example.com&#8217](https://example.com&#8217););
    
   define(‘WP_SITEURL’,’[https://example.com&#8217](https://example.com&#8217););
 *  Thread Starter [sbskamey](https://wordpress.org/support/users/sbskamey/)
 * (@sbskamey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7554970)
 * Hi Borge.
 * I have added https:// previously and it made a little improvement.
 * But I’m still getting a lot of Mixed Content error messages in the Search console:
 * Mixed Content: The page at ‘[https://xxxxx.com&#8217](https://xxxxx.com&#8217);
   was loaded over HTTPS, but requested an insecure image ‘[http://xxxxx.com/wp-content/uploads/2015/05/sbs-300.png&#8217](http://xxxxx.com/wp-content/uploads/2015/05/sbs-300.png&#8217);.
   This content should also be served over HTTPS.
 * Do you have any other suggestions?
 * Kam
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7554975)
 * install the plugin “better search and replace”.
 * Search for [http://mydomain.com](http://mydomain.com) and replace with [https://mydomain.com](https://mydomain.com)
 * Once you’re done, you can delete the plugin
 *  [Radu](https://wordpress.org/support/users/broseph/)
 * (@broseph)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7554989)
 * Just so you know why this happens: When you move from HTTP to HTTPS, some content(
   images, scripts, etc.) still remains added as HTTP, and that triggers the “mixed
   content” warning, since you are now on HTTPS. This happens to everyone, it’s 
   not just you.
 *  Thread Starter [sbskamey](https://wordpress.org/support/users/sbskamey/)
 * (@sbskamey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7555001)
 * Hi all,
 * I have run the “better search and replace” plugin. This picked up 52 changes 
   which have been changed.
 * Thanks Blade for explaining why. This makes sense.
 * Unfortunately I am still getting the same Mixed Content messages on the search
   console.
 * Is it a matter of removing the images and then re-uploading them – this seems
   a bit manual?
 * The problem is that my website is a community based platform, where users upload
   their own profile pictures, so having to remove their pics and re-uploading will
   take forever! :/
 * Any help on this would be great!
 * Thanks
 * Kam
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7555002)
 * > Is it a matter of removing the images and then re-uploading them – this seems
   > a bit manual?
 * no. please post a link to a page which shows this error.
 *  Thread Starter [sbskamey](https://wordpress.org/support/users/sbskamey/)
 * (@sbskamey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7555010)
 * Here is the link to the website:
 * [https://sincebeingsingle.com/](https://sincebeingsingle.com/)
 * When you login, there are a lot more Mixed Content errors.
 * I didn’t create a test account as the errors on the homepage are the same as 
   the members pages. But if you want, you can create a quick account here:
 * [http://sincebeingsingle.com/sign-up-male/](http://sincebeingsingle.com/sign-up-male/)
 * Thanks a lot!
 * Kam
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7555011)
 * try better search and replace again
 *     ```
       Mixed Content: The page at 'https://sincebeingsingle.com/sign-up-male/' was loaded over HTTPS, but requested an insecure image 'http://sincebeingsingle.com/wp-content/uploads/2015/06/sbs-300-21.png'. This content should also be served over HTTPS.
       (index):181 Mixed Content: The page at 'https://sincebeingsingle.com/sign-up-male/' was loaded over HTTPS, but requested an insecure image 'http://sincebeingsingle.com/wp-content/uploads/2015/05/sbs-300.png'. This content should also be served over HTTPS.
       (index):1 Mixed Content: The page at 'https://sincebeingsingle.com/sign-up-male/' was loaded over HTTPS, but requested an insecure favicon 'http://sincebeingsingle.com/wp-content/uploads/2015/06/sbs-favicon-32.png'. This content should also be served over HTTPS.
       ```
   
 * search for [http://sincebeingsingle.com](http://sincebeingsingle.com), replace
   with [https://sincebeingsingle.com](https://sincebeingsingle.com)
 *  Thread Starter [sbskamey](https://wordpress.org/support/users/sbskamey/)
 * (@sbskamey)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7555018)
 * I think that actually worked! There’s no errors and the https has turned green.
 * Here’s the stats from the better search and replace:
 * During the search/replace, 37 tables were searched, with 2926 cells changed in
   2637 updates.
 * Thanks so much for your help sterndata and everyone else!
 * Kam

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

The topic ‘Mixed content over HTTPS’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 4 participants
 * Last reply from: [sbskamey](https://wordpress.org/support/users/sbskamey/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/mixed-content-over-https/#post-7555018)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
