• Resolved sbskamey

    (@sbskamey)


    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’ was loaded over HTTPS, but requested an insecure image ‘https://xxxxx.com/wp-content/uploads/2015/05/sbs-300.png’. 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

    (@joeborge0914)

    You can check the settings of your dashboard.
    Settings >General
    Change https:// 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’);

    Thread Starter sbskamey

    (@sbskamey)

    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 ‘https://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

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    install the plugin “better search and replace”.

    Search for https://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.

    Thread Starter sbskamey

    (@sbskamey)

    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)

    (@sterndata)

    Volunteer Forum Moderator

    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

    (@sbskamey)

    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:

    https://sincebeingsingle.com/sign-up-male/

    Thanks a lot!

    Kam

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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 'https://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 'https://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 'https://sincebeingsingle.com/wp-content/uploads/2015/06/sbs-favicon-32.png'. This content should also be served over HTTPS.

    search for https://sincebeingsingle.com, replace with https://sincebeingsingle.com

    Thread Starter sbskamey

    (@sbskamey)

    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.