http to https

Support General http to https

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10433
    candoremcandorem
    Participant

    I installed a SSL on a site. All the images that were uploaded prior to this still use http instead of https. I was looking to write some code to loop through the postmeta table and change the existing images. However, even if I go directly into the database and add the 's' after the http in the json object, it all breaks.

    What is the best way of doing this in mass?

    Velvet Blues Updating URLs seemed to work well for all other media on the site that was not uploaded and manage by Metabox.

    Thanks

    #10434
    Anh TranAnh Tran
    Keymaster

    Hello,

    I'd recommend using the Better Search Replace plugin.

    Or you can use a script called Database Search and Replace.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.