Viewing 5 replies - 1 through 5 (of 5 total)
  • Use below code in wp-config file

    define(‘FORCE_SSL_ADMIN’, true);

    Thread Starter jessicalarson831

    (@jessicalarson831)

    I am not super familiar with editing the wp-config file, but I added that to the end of it in notepad and saved, the image still is broken on https://

    Thread Starter jessicalarson831

    (@jessicalarson831)

    I installed this plugin and it seems to work for now. https://wordpress.org/plugins/wordpress-https/

    Thread Starter jessicalarson831

    (@jessicalarson831)

    The plugin is not a fix. It does solve the image problem, but doesn’t allow any other post updates to stick. I have to deactivate the plugin, update my post, and then reactivate the plugin. Not exactly ideal. Any other ideas?

    Have you tried setting the WordPress Address and Site Address in Settings -> General to HTTPS so that your entire site is served via HTTPS?

    It’s a little slower than HTTP, but it may solve your problem until WordPress fixes the problems with FORCE_SSL_ADMIN that seem to have cropped up in 4.4.1 and later.

    If that works, you’ll need to test the links in your content and make sure they correctly link to the HTTPS protocol. If not, you may need to update them.

    If you change the settings as above, you won’t need a plugin or the FORCE_SSL_ADMIN in wp-config.

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

The topic ‘Images break with https:// prefix’ is closed to new replies.