Force SSL on all pages.

Question
How do I force HTTPS instead of HTTP
Answer
You can achieve this easily via editing your site's .htaccess file. Here's how to do this:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
Of course, you will want to substitute your domain for example.com
Still need help?
If you need further assistance than this entry provided, please, do open up a support ticket, we are here to help you out
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do I need to restart Apache when I change an .htaccess file

Question Do I need to restart Apache when I change an .htaccess file Answer No, you do not...

URL redirect/rewrite using the .htaccess file

Question How do I create rewrites using .htaccess files?...

Using htaccess to enable hotlink protection

Question How do I use htaccess to enable hotlink protection? Answer...

what is mod_rewrite? How do I get redirects working?

Question What is mod_rewrite? How do I get it working? Answer Our servers do...

How to use a SWF file as your homepage without embedding it into an HTML page.

Question How to use a SWF file as your homepage without embedding it into an...

Powered by WHMCompleteSolution

Our official partners