Quantcast
Viewing latest article 3
Browse Latest Browse All 32

SSL on Hostmonster

If you’re hosting a site with Hostmonster the following step will help ensure all pages use HTTPS.

From July 2018 and starting with Chrom 68 Google will be flagging non-SSL sites as insecure and also will be ranking them down during searches.

Hostmonster is upgrading all sites to SSL for free. However, you may still want to forward you old http site to https. This can be achieved by editing the .htaccess file (see HostMonster Help: Force SSL on all pages). However, there appears to be a bug in the cPanel file manager which prevents hidden files from showing – even when ticking the ‘show hidden files option’ on the file manager.

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

As a quick workaround, start the file manager, then append the following line to the file manager URL and reload the page. Hidden files should now be visible.

&showhidden=1&saveoption=1

Then edit the .htaccess file by appending the following lines

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

If you do get stuck, I’ve had fantastic experience with Hostmonster help. Never had to wait. And always excellent service.

PS. While I have done this for my clients, my own site, as you will notice (at least as of July 18) has yet to be moved to SSL – ain’t this always the way!

 

 

 


Viewing latest article 3
Browse Latest Browse All 32

Trending Articles