SSL Force on Everything... but Mapped Domains

More than one way to skin a herd of cats...

I have a subdomain multisite network
with a mix of mapped domains and subdomain sites
I have just installed a wildcard SSL

what I would like to do is have
1) all admin be forced to SSL
2) force all content to SSL on subdomain sites
3) not have a problem with mapped domain sites - whether they have no SSL or add their own SSL later

the wordpress plugin " WordPress HTTPS (SSL) " is obsolete and when I tested it, it generated 750 queries for every page load, so not viable anymore

since there are hundreds of threads all over the place on this topic I was wondering if a step by step solution is available

hope you can help

  • Tyler Postle

    Hey Tripvendor,

    Hope you're doing well today!

    You can do this with Domain Mapping forcing options :slight_smile:

    Go to:

    Network admin > Settings > Domain Mapping.

    Then go down to the Force http/https options and force both frontend and login/admin pages to https :slight_smile: this will apply to the original subsite url only, so the mapped domain isn't affected and you won't get any invalid ssl cert errors :slight_smile:

    Keep in mind a virtual host can only have ssl cert. So your users won't be able to add their own ssl. There is a way to use SNI to add an additional virtual host and implement a second SSL but I've never tried that myself - may want to speak to a system admin if you consider doing that.

    What I would do is stick with just the Wildcard SSL and force the original domain on any pages that your clients might want ssl forced on, so maybe if they have a submission form or something then you can force that page to the original url and force https on it.

    You can do that per site via: Tools > Domain Mapping. There is a new Excluded pages section there :slight_smile:

    Hope this helps!

    Let us know if you have any further questions.

    All the best,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.