If you have installed and activated an SSL certificate on your web hosting, you will need to configure your website so that it appears in browsers as a secure site (HTTPS). Below you can follow the steps to configure the certificate on your website depending on the CMS you use or if it is custom programming.
WordPress
In WordPress there are several plugins that configure your website to resolve securely. We will show you the plugin Really Simple SSL.
In the plugins section of the WordPress panel search for the plugin Really Simple SSL and click Install now.
Once installed activate it.
The plugin itself will switch your WordPress site to HTTPS when activated. If any manual action is required it will indicate it on screen.
PrestaShop
In the PrestaShop panel, in the "Configure" section of the menu click on the dropdown Shop Parameters and access General.
In the "General" menu click on the option Please click here to check if your store supports HTTPS. The option "Enable SSL" will appear where you must click YES and then Save.
Once the configuration is saved, enable the option "Enable SSL on all pages" where you must click YES and then Save.
Joomla
Access your Joomla administration panel and in the "System" section of the menu click Global Configuration.
On the global configuration screen go to the tab Server.
In the "Server Configuration" section, in the option Force HTTPS select Entire Site and click Save & Close.
Moodle
Access your cdmon control panel and go to the hosting management.
On the hosting management screen access Web FTP access which you will find in the "File managers" section.
Enter your FTP Username and FTP Password and click Start. The FTP data can be found in hosting management under the section "Hosting information".
Access the folder where your Moodle installation is located. By default it is the folder /web.
Inside the folder find the file config.php and click Edit.
Look for the following line:
Change http to https so that it looks like this:
Once the change has been made, click the save icon.
After making this change it may not be enough and not everything will work under HTTPS, therefore we recommend accessing your Moodle administration panel.
Important: Before continuing with this process we recommend creating a backup of both the web files and the database.
In the Moodle panel click Site administration.
On the "Site administration" page access HTTP security which you will find in the "Security" section.
At the bottom of the page click HTTPS conversion tool.
Click Continue.
Confirm that you understand the risks and click Perform conversion.
Once the HTTPS conversion is completed click Continue.
You will return to the HTTP Security screen where you must click Save changes.
.htaccess file
To create a .htaccess file open Notepad and enter the required code. Save the file as a text file (.txt), for example "htaccess_file.txt", and upload it via FTP to the folder where it should be used. Once on the server change the name of the file "htaccess_file.txt" to ".htaccess".
Important: if you already have a .htaccess file in your hosting you can use it to perform this configuration.
The .htaccess must be placed inside the folder where you want it to take effect. In this case it should be placed in the root folder of your website.
To redirect your entire site to a secure connection (HTTPS) enter the following code in the file:
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]