Hi,
I have a Drupal 7 multisite installation in a cPanel account, currently serving 3 domains. I have SSL certificates installed and working. However I need to ensure that all HTTP traffic is redirected to HTTPS for all domains.
Since Drupal use a single .htaccess file, I'm struggling with how to configure it correctly.
So, this is what I want to accomplish:
Any suggestions?
I have a Drupal 7 multisite installation in a cPanel account, currently serving 3 domains. I have SSL certificates installed and working. However I need to ensure that all HTTP traffic is redirected to HTTPS for all domains.
Since Drupal use a single .htaccess file, I'm struggling with how to configure it correctly.
So, this is what I want to accomplish:
Code:
http://domain1.com to be redirected to https://domain1.com
http://www.domain1.com to be redirected to https://www.domain1.com
http://domain2.com to be redirected to https://domain2.com
http://www.domain2.com to be redirected to https://www.domain2.com
http://domain3.com to be redirected to https://domain3.com
http://www.domain3.com to be redirected to https://www.domain3.com