How to force Multisite to https?

Hi all,

We have a multisite deployment (subfolders) and want to force the whole network onto HTTPS.

In a non-MS deployment you just change the urls in the settings page. But in MS that page isn’t the same.

Is there a guide on how to do this as my google-fu kills are failing me on this. Can find plenty for subdomains but not subfolder. Maybe I’m having a bad search day…. :disappointed:

So, any help would be gratefully appreciated.

Thanks

Gavin

  • Vinod Dalvi
    • WP Unicorn

    Hi Gavin,

    Thank you for your question.

    Have you tried using the following plugin?

    http://wordpress.org/plugins/wordpress-https/

    Also to use that SSL certificate for your admin too. Just drop this in the wp-config.php:

    define('FORCE_SSL_ADMIN', true);

    That’ll force the entire admin over SSL, which is what you want in most cases. If that is too slow for you though, you could also decide to just force the login page over SSL:

    define('FORCE_SSL_LOGIN', true);

    This will force the login and registration pages to be SSL. I think you should go for the first option though, and run your entire admin over SSL.

    Kind Regards,

    Vinod Dalvi