Title: [Plugin: WordPress HTTPS] Multisite, SSL (wildcard) and forced login
Last modified: August 19, 2016

---

# [Plugin: WordPress HTTPS] Multisite, SSL (wildcard) and forced login

 *  [broniors](https://wordpress.org/support/users/broniors/)
 * (@broniors)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-multisite-ssl-wildcard-and-forced-login/)
 * hi,
 * I am using WordPress HTTPs with a multisite using subdomains. I want to be able
   to force SSL for login (and ideally later admin … but one problem at a time)
 * My site/s require the user to login first before they access either the front
   end or administration.
 * I have got the SSL certificate to work when they type in exactly the login url
   but I am having problems forcing SSL for login. I have edited the wp-config file
   but I think my problem relates to what I need to do with the .htacces file. I
   am not sure what I need to do there.
 * Or could it be something else?
 * Thanks
 * Regards
    Bron

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

 *  Thread Starter [broniors](https://wordpress.org/support/users/broniors/)
 * (@broniors)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-multisite-ssl-wildcard-and-forced-login/#post-1905712)
 * This problem seems to be only happening on my subdomains … I am sure that what
   I am using for the .htaccess is not working correctly I am just not sure what
   I need
 * Here is what I have from [http://codex.wordpress.org/Administration_Over_SSL](http://codex.wordpress.org/Administration_Over_SSL)
 *  RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]
    RewriteCond %{HTTPS}!
   =on [NC] RewriteRule ^/?(wp-admin/|wp-login\.php) [https://mysite.com%](https://mysite.com%){
   REQUEST_URI}%{QUERY_STRING} [R=301,QSA,L]
 *  Thread Starter [broniors](https://wordpress.org/support/users/broniors/)
 * (@broniors)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-multisite-ssl-wildcard-and-forced-login/#post-1905722)
 * I think I might have a solution … needs more testing but it works so far
 * #Force SSL on my.domain.com
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/[
   NC] RewriteCond %{HTTPS} !=on [NC] RewriteRule ^/?(wp-admin/|wp-login\.php) [https://mysite.com/wp-admin/my-sites.php](https://mysite.com/wp-admin/my-sites.php)[
   NC,L]
 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-multisite-ssl-wildcard-and-forced-login/#post-1905947)
 * Hey broniors,
 * The admin SSL portion of the plugin is not 100%. I’m working to get an update
   to fix this out by next week, or possibly the week after. I’ll certainly update
   this topic when I release it.
 * Thanks,
    Mike
 *  [seanscullion](https://wordpress.org/support/users/seanscullion/)
 * (@seanscullion)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-multisite-ssl-wildcard-and-forced-login/#post-1906098)
 * Hello!
 * Is there a published solution to this problem anywhere?
 * Here’s our setup and what we’re trying to achieve:
 * * We’ve got a single installation of WordPress.
    * We run multiple subdomain 
   sites with the single installation * We want a single user-registration process(
   registration for one implies registration for all) * Ideally, a single-sign-on–
   log in to one implies log in for all. We understand this might be a problem due
   to the cookie being set for the domain of the original sign-in, but if someone
   has solved this please let me know. * We would like the login, registration and
   all admin pages to be done over SSL.
 * Has anyone out there achieved such a set up?
 * Many thanks,
 * Sean Scullion

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

The topic ‘[Plugin: WordPress HTTPS] Multisite, SSL (wildcard) and forced login’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [seanscullion](https://wordpress.org/support/users/seanscullion/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-multisite-ssl-wildcard-and-forced-login/#post-1906098)
 * Status: not resolved