• Hi there

    I am using wp 4.4.1 with ” define( ‘FORCE_SSL_ADMIN’, true ); “, BUT the website frontend is http, not https (that is, I do not have a signed certificate but I want to browse admin on secure connection).

    Without WordPress MU Domain Mapping plugin all is great.
    Enabling your plugin, all media library files (like pictures) get uploaded with “https://” url in front (it is “normal”, since the upload is made via https), however, the frontend is http:// and the normal visitors will get errors and pictures not visible.

    From what I can see here, in order to see the pictures without errors in https AND http, there would be 2 options:
    1) use relative links (no http/s:// indication) OR
    2) SMART detect the nature of the frontend connection (ssl or not) and upload pictures with http:// instead of https://.

    I know the first option may broke some RSS things so, despite the fact that the second option may rise some errors in admin (I did not seen any) I would think the second option is the right way to go.

    And yes, there are other options, like hacking the pages url, but hey… why can’t we just find an easy way to fix it?

    Thank you,
    M.
    PS: “Active domains on this blog” should not show https://, since this is an http install, only admin is https…

    https://ww.wp.xz.cn/plugins/wordpress-mu-domain-mapping/

The topic ‘Media Library URL is wrong if HTTPS backend AND HTTP frontend’ is closed to new replies.