• Hi there,

    I have setup a Multisite installation and have two domains. The parent domain is domain.com, and the additional domain is rewards.domain.com

    The reason I have set this up this way is so that I can have a “rewards store” situated on rewards.domain.com (where the currency is points) where people can buy things with points they earn on the parent domain (I can’t have a points store on the parent domain because I have a regular £ sterling shop on there).

    Anyway, both sites are up and running and working fine.

    Now I need to implement HTTPS for AT LEAST the parent domain, but both if possible. I have a standard SSL certificate installed on the server.

    What is the correct procedure to achieve this? I’ve read lots of mixed views on this so would appreciate a basic step by step guide.

    Any help would be GREATLY appreciated.

    Richard

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Richard,

    I’d suggest that the most expedient way to do this will be to by adding a directive to your .htaccess file rather than using a WordPress plugin. My reasoning is that when a visitor goes to your site, the redirect will be found in your .htaccess file before WordPress starts loading. If you use a plugin, WP will have to start loading first for the redirect to be identified and acted on.

    There are several tutorials on editing an .htaccess file to force SSL; one is at https://code.tutsplus.com/tutorials/options-for-ssl-in-wordpress–cms-21995, and it examines other options as well.

    If you’re hesitant to touch your .htaccess file, by all means use a plugin instead. You can always deactivate it and edit your .htaccess file down the line.

    One thing to check with your hosting service is your SSL certificate. Since you have a standard SSL cert, you may not be able to use it for your subdomain. Normally when multiple domains are involved, a wildcard SSL certificate is going to be necessary.

    Thread Starter rjt1985

    (@rjt1985)

    Thanks for this.

    My issue with changing the htaccess file is that apparently I have to change my url in WordPress Admin to be https instead of http. Problem is, as I’m running a Multisite, I can’t find a way to change that?

    Any ideas would be greatly appreciated.

    R

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I have Multisite set up and working… now how to add HTTPS / SSL?’ is closed to new replies.