• Resolved Guido

    (@guido07111975)


    Hi,

    I’m going to install your plugin on a website with lots of images, and I wonder if your plugin actually changes the URL prefix of all images from http to https in the database, or does it add some kind of redirect to https only?

    Kind regards (hartelijke groeten),

    Guido

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark

    (@markwolters)

    Hi Guido,

    the plugin doesn’t make any changes to your database. It replaces https:// to https:// by taking the contents of a page and running php’s str_replace() function to change all https:// references to your own domain and src=”” to https://. Deactivating the plugin via the plugins overview will stop the mixed content fixer and revert all urls to https://.

    Besides the mixed content fixer, the plugin changes the home- and site-url to https:// and adds a 301 redirect to https://.

    Mark

    Thread Starter Guido

    (@guido07111975)

    Hi Mark,

    Ok, I understand! Thanks for your response.

    Meanwhile I’ve also noticed when changing the prefix via Settings > General, the prefix of all files in the native Media Library is also changed from http into https, so I guess WordPress itself does something similar.

    Guido

    Plugin Author Mark

    (@markwolters)

    Hi Guido,

    yes, WordPress will use the site address from the general settings to determine the media library links, when the site address is updated to https:// the media library will use https:// links as well. Really Simple SSL will update this for you, you don’t have make any manual changes to the site-/home address in the WordPress general settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing prefix of files in database’ is closed to new replies.