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’);
define(‘WP_SITEURL’,’https://example.com’);
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’ was loaded over HTTPS, but requested an insecure image ‘http://xxxxx.com/wp-content/uploads/2015/05/sbs-300.png’. This content should also be served over HTTPS.
Do you have any other suggestions?
Kam
install the plugin “better search and replace”.
Search for http://mydomain.com and replace with https://mydomain.com
Once you’re done, you can delete the plugin
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.
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
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.
Here is the link to the website:
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/
Thanks a lot!
Kam
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, replace with https://sincebeingsingle.com
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