Multisite SSL Help?
-
Hey all, Im hoping someone can help me with a odd issue im having
Currently I have a multisite set up on my domain
example.com
site1.example.com
site2.example.com and so onI have a few users who can login to the site to write articles and so on which is working wonderfully, but this is where it gets interesting
I have a SSL cert for the root domain, example.com
I can easily set up wordpress to use https to login and that works fine.
However the cert I got was only for the root domain and not for any of the subdomains for the following reasonWhen a user logs into the site, no matter what subdomain they are on, I have htaccess set up to redirect them to the root domain to login,
I have also set up a plugin to hide the wp-admin page and only /login will give you a login promptHere is where my problem is
If I enable SSL for the main site it works fine until I change to a subdomain site
There I either get a SSL warning (as the HTTPS doesnt recognise a valid cert)
or I get a page not found warning, because of my disabled wp-adminI have a feeling the following is happening but im not sure how to fix it
I think when you login to the main site using SSL it creates the cookie based of the SSL and makes you use the HTTPS site.
so when you go to a non https admin page it doesnt see you as logged in and gives you the errorSo what im asking after all of these issues is this
Can I redirect my users to the main site to login using SSL
When they have logged in it redirects them to a non secure site so that they can travel between the subdomains without getting SSL warnings.I hope this all makes sense, (It kind of does in my head but no idea if its come across)
Thanks in advance
PomTom
- The topic ‘Multisite SSL Help?’ is closed to new replies.