Why should you use Force HTTPS on your website

Why should you use Force HTTPS on your website

Using HTTPS instead of HTTP means that communications between your browser and a website is encrypted via the use of an SSL (Secure Socket Layer). Even if your website doesn’t handle sensitive data, it’s a good idea to make sure your website loads securely over HTTPS. It’s now becoming a requirement for many new browser features as well as potentially having an impact on search engine rankings.

To make sure your website loads securely, you need to make sure that it is prefixed with HTTPS instead of HTTP. This can be done in a few different ways. Outlined below are the most common ways to do this.

Use the Force HTTPS tool

  1. Login HERE and head to Manage Hosting and select Manage on the package you want to force HTTPS for.
  2. Select the SSL/TLS icon.
  3. Select Enable Force HTTPS. This will redirect website users to HTTPS. As long as the website has an SSL certificate and all content loads via HTTPS, the site should show as secure.

Using a .htaccess file

Another way that has the potential for more specific configuration is to use a .htaccess file rule. If you don’t have a .htaccess file, you can create one via FTP or File Manager and then add the code:

RewriteEngine On

RewriteCond %{env:HTTPS} !on

RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

If you already have a .htaccess file then make sure you don’t duplicate the line:  RewriteEngine On

If after enabling force HTTPS the website shows insecure, then you’ll need to make sure that:

  1. You have an SSL certificate on the site
  2. You don’t have mixed content.

    • Related Articles

    • My website shows as insecure due to mixed content?

      Please note that if you have recently activated a VISYOO SSL certifcate for your domain, it can take up to 30 minutes to be installed across our load balancers. After an SSL has been installed, the website still loads with an insecure warning If the ...
    • How do I use the Website Malware Scanner?

      Overview One of the major problems with malware is its persistence. This is why VISYOO's Website Malware Scanner makes daily scans of all the sites within your hosting account. It uses a combination of commercial and in-house tools and provides ...
    • How do I use the Website Malware Scanner?

      Overview One of the major problems with malware is its persistence. This is why VISYOO's Website Malware Scanner makes daily scans of all the sites within your hosting account. It uses a combination of commercial and in-house tools and provides ...
    • Can I change my website's PHP configuration?

      Yes, you can. This is available via the Manage Hosting > Select Package > PHP Configuration section of our control panel. Alternatively, you can create a custom file in your webspace with your desired PHP configuration. Please note that PHP will only ...
    • Can I change my website's PHP configuration?

      Yes, you can. This is available via the Manage Hosting > Select Package > PHP Configuration section of our control panel. Alternatively, you can create a custom file in your webspace with your desired PHP configuration. Please note that PHP will only ...