To enable Force SSL on your Joomla site, please follow these steps:

Step 1: Configure your configuration.php file

Open your configuration.php file. Find the following line: 

var $live_site ='';

and replace with:

var $live_site = 'https://www.yourdomain.com'; 

Next, open .htaccess file then add the following code to the bottom of the file:

RewriteEngine On

RewriteCond %{HTTPS} OFF

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Step 2: Enable Force SSL on your Joomla site

In the Admin Panel, navigate through System >> Global Configuration.

Within the Server tab, in the Server Settings section, there are 3 Force SSL alternatives that you can select, namely:

None: SSL will not be enabled in your Joomla site.

Administrator Only: connections to your administrator will be on HTTPS.

Entire Site: connections all over your website will be on HTTPS.

Choose the last one "Entire Site" and Hit the Apply/Save button.

You are done now! 

Note: Don’t forget to replace yourdomain.com with the name of your website domain.

 

 

Was this answer helpful? 15 Users Found This Useful (16 Votes)