How to Force HTTPS Manually Using File Manager

Simple steps on how to Install SSL and route all traffic to your site through HTTPS manually, through the .htaccess file. You can do this in “File Manager” on the HostGator Customer Portal. Sound intimidating? Don’t worry, we gotchu.

In This Video You’ll Learn:
How to Test To Make Sure Your SSL is Enabled
How to Manually Install SSL Through File Manager
How to Access the .htaccess File
How to Edit the .htaccess File

Here’s the code to use in your .htaccess file:

# Always use https for secure connections
# Replace ‘www.example.com’ with your domain name
# (as it appears on your SSL certificate)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]

What is an SSL Certificate? – http://gtr.bz/TwNA30qC89v
How Do I Use My SSL Certificate? – http://gtr.bz/ZuVy30qC89m
Join our Website Owners Community on Facebook: http://gtr.bz/vYJZ30qIcfg

You May Also Like