Force HTTPS / SSL on all pages Print

  • code, htaccess
  • 2

Force all of your pages to use HTTPS. To do this you will need to modify your .htaccess file.

Using the Code Editor in the File Manager, add these lines to the beginning of the .htaccess file.

RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$$1 [R=301,L]

Change "" with yours.

Was this answer helpful?

« Back

Powered by WHMCompleteSolution