Category: security
-
How To Redirect HTTP to HTTPS With Hostgator
For security purposes, all websites should use https rather than http. Normally, this can be done by editing the .htaccess file, which is located in the root directory of your website. The following should be added to the .htaccess file to redirect to https: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L] Just replace…