• Resolved sicco

    (@sicco)


    I have a WordPress Multisite installation with several sites, mapped to domain names using the WordPress MU Domain Mapping plugin. I retrieved a certificate using Lets’ Encrypt which is valid for the WP MU site domain as well as the domain to which it is mapped.

    I’ve looked at several blogs and posts to find out how to switch this site from HTTP to HTTPS but I could not get it to work. Often steps involved were (in no particular order):

    • Install WordPress HTTPS (SSL) plugin
    • In WP’s Network Admin, change the URL of the site from HTTP to HTTPS
    • Various changes in wp-config.php or even the database

    So far I could not find a clear step-by-step process of how to convert one of my WordPress Multisite site from HTTP to HTTPS. Does anybody know how to achieve this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Bet Hannon

    (@bethannon1)

    Hi sicco!

    Glad you got this resolved! It would probably be very helpful to other users to hear how you solved this, if you have time to come back and post about it. (I’m interested in this too!)

    Thanks!

    Thread Starter sicco

    (@sicco)

    Hi Bet,

    In the end the fix was simple. I overlooked one of the options of WordPress HTTPS (SSL). I network activated the plugin and then in the settings of the plugin only checked the Force SSL Exclusively option for the one WordPress MU site that uses HTTPS. This switches all http references on the requested webpages to https. I also made sure that my certificate is valid for both the ‘internal’ WordPress MU site address and the URL specified using the Domain Mapping plugin, because some links on the webpages use the internal URL and the certificate should thus be valid for those as well to avoid mixed content problems.

    I still face a few problems though. When I use the WordPress HTTPS (SSL) plugin to force the admin part of the website to use HTTPS I still get mixed content problems, so I’m still figuring that out. Also when adding images to posts/pages in the visual text editor using a HTTPS link results in mixed content problems, so I use HTTP links for images (as they will be corrected by WordPress HTTPS (SSL) anyway when people retrieve the actual webpage).

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

The topic ‘Add HTTPS to one of my sites’ is closed to new replies.