Safety G8ed4c4a66 1920 E1684076635685, TurnUpHosting

How to force your website to use HTTPS

Importance of using HTTPS your website

HTTPS makes sure all information sent over your website is encrypted. Encryption is very useful and prevents any unauthorized access to your client’s or customer’s sensitive information for eg. credit card details, name, email, etc…
It is highly recommended to use HTTPS on all your web pages. To force HTTPS on all the web pages of your site, follow the steps below.


1. Make sure you have either purchased an SSL Certificate or get a free one from Let’s Encrypt. If you purchased a hosting plan from us, we provide you with a free domain validated SSL certificate through Cpanel. Avoid using self-signed certificates because most browsers do not trust them and will show a warning to all users visiting your website.

You can purchase more advanced SSL from here.

2. Use File Manager to navigate to the root of where the files of your website are stored. It is usually public_html for main domains.
At the root folder, look for the file named .htaccess. Right-click on that file and select edit, add the code below and select save.

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Safety G8ed4c4a66 1920 E1684076635685, TurnUpHosting

Leave a Reply

Your email address will not be published. Required fields are marked *

The owner of this website has made a commitment to accessibility and inclusion, please report any problems that you encounter using the contact form on this website. This site uses the WP ADA Compliance Check plugin to enhance accessibility.