To force Drupal or WordPress sites to use secure https:// instead of http:// version of your site just add the following to the .htaccess file:
Note: replace “www.example” with the appropriate site domain. Also, this rewrite rule should be the first rule in your .htaccess file, since otherwise in some situations rewrites might not ever get to this rule.
Copy to Clipboard
Leave A Comment
You must be logged in to post a comment.