How to Force a Dedicated SSL Cert on WordPress Network Login

Avatar
  • Answered
Hello,

I was wondering if I purchase a dedicated SSL from InMotion how I would then force SSL admin login on my WP-Network install?

I already have the Dedicated IP address from InMotion.

I started to try to use the shared SSL as outlined here: http://forum.inmotionhosting.com/viewtopic.php?f=34&t=37742

...but that seems like way to much hassle to get this to work. I'd rather not resort to hacks and WP plugins to get SSL to function.

So with a dedicated SSL would it be as simple as adding the following line to the wp-config.php file, once the SSL is installed on the domain?

define('FORCE_SSL_ADMIN', true);

(http://codex.wordpress.org/Administration_Over_SSL)

WordPress also mentionsa virtual host requirement and I'm not really sure where that comes into play.

Lastly, will the dedicated SSL work with mapped domains on my WP Network? I currently use subdomains with a domain mapping plugin, however sites on my WP network use the sudomain structrue for accessing their WP Admin.

For example:

clientsite1.mywpnetwork.com = Site on my WP Network as a subdomian

clientsite1.com is mapped, via a domian mapping plugin, to clientsite1.mywpnetwork.com

The WP Admin login URL displayed for clientsite1 is clientsite1.mywpnetwork.com/wp-admin/.../

Thanks!
Avatar
Scott
Hello teebird, To use SSL with Wordpress as https://domain.com, you will need to purchase an SSL certificate for that domain. Using the shared SSL means you would have to use the temp URL for your entire Wordpress site, which is neither advisable nor desired by most people. Be advised, the SSL must be purchased for the exact domain name set up you are using for the wordpress. If the site is set up as domain.com then the SSL will not work for subdomain.domain.com. Once the SSL is in place, simply using: define('FORCE_SSL_ADMIN', true); should be all you need to force SSL for admin. I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you. Best regards, Scott M