• Resolved pineapplejuice

    (@pineapplejuice)


    Hi,

    I just switched to multisite and can’t figure out how to get SSL working properly. On single site install the plugin and SSL work fine.

    On multisite, I activated the plugin on the network and within the site settings I see 3 options:

    Auto replace mixed content
    Debug
    Switch mixed content fixer hook

    I tried all, but if I go to https the sites are broken due to mixed content.

    Debug says:

    Options:
    * Mixed content fixer
    SERVER: apache
    MULTISITE
    SSL is being activated per site
    SSL is not yet enabled for this site
    ** Detecting configuration **
    plugin version: 2.5.25
    Already on SSL, start detecting configuration
    is_ssl() will return false: wp-config fix needed
    SSL type: LOADBALANCER

    I tried uninstalling and reinstalling the plugin as I don’t seem to get the “Choose your preferred setup option” that’s shown here: https://really-simple-ssl.com/knowledge-base/really-simple-ssl-multisite-set-tips/

    Not sure what the problem is.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pineapplejuice

    (@pineapplejuice)

    I added $_SERVER['HTTPS'] = 'on'; to wp-config.php. Afterwards I went to wp-admin and all the styles were still broken, but now I had a button to activate SSL in settings->SSL. After clicking that it seems to work,

    Since I want to force https for all sites anyways, I’ll just leave the override like that in place.

    I definitely didn’t have these problems in the single site setup. Oh well, seems to work now.

    Plugin Author Mark

    (@markwolters)

    Hi,

    on some set-ups the the is_ssl() function will return false, in these cases the wp-config.php fix is needed. In your case this has solved the issue. Activating SSL using the button has updated the styling to load over https:// as well, resulting in the styling looking normal again.

    Let me know if you have any other questions!

    Mark

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

The topic ‘On Multisite – Auto replace mixed content not working’ is closed to new replies.