Support » Plugin: WordPress HTTPS (SSL) » [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?



Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^/?(wp-admin/|wp-login\.php){REQUEST_URI}%{QUERY_STRING} [R=301,QSA,L]

    I think I might have a solution … needs more testing but it works so far

    #Force SSL on
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]
    RewriteCond %{HTTPS} !=on [NC]
    RewriteRule ^/?(wp-admin/|wp-login\.php) [NC,L]

    Plugin Author Mike Ems


    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.





    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.