Once the SSL Certificate is installed, it is ideal for visitors who access your website to be immediately redirected to the HTTPS version of it, so they can browse securely. This redirection is not configured automatically when the certificate is installed, and it requires a few small changes in your hosting.
If you have a CMS installed on your hosting, there are plugins that allow you to make this change automatically.
In this guide we will show how to force secure HTTPS navigation using the .htaccess file
First of all, you need to access your hosting via FTP in order to activate it:
To connect to the "webFTP" service, you need a username and password which you can find in your cdmon control panel, in the hosting management section, under Hosting information. By clicking the eye icon you can view the password, which is hidden for security reasons.
Once you have the connection details, you must access the FTP manager from the hosting management panel itself by clicking the icon Web FTP access (net2ftp), in the 'File managers' section.
In the webFTP manager login panel you must enter the FTP details (username and password) found in the 'Hosting information' section.
After accessing webFTP you will be able to view the files and/or directories of your hosting. You must enter the folder /web:
Once inside the /web folder, all the files of your site will appear. You must locate the file named .htaccess and click Edit on that file.
The code of the .htaccess file will automatically open. You only need to add the following lines at the end of the file: