Step 1:

Configure your configuration.php file

Now, you have SSL enabled in your Joomla, but if visitors continue to use HTTP protocol to visit your site, they will not be automatically redirected to HTTPS. You will need to add some tweaks to your Joomla files.

In the root directory of your Joomla, you will find the configuration.php file. Open this file using a text editor and replace the following line:

var $live_site ='';

Replace with:

var $live_site = '';

Step 2:

Configure your ,htaccess file

In the same root directory, you will find the .htaccess file. Using a text editor add these lines at the bottom of the file:

RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}>

Step 3:

Enable Force SSL in your Joomla site

Access your backend Global Configuration setting. From the Server tab, in the Server Settings section, there are 3 Force SSL alternatives that you can select:

  • 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.

Select the Entire Site Setting. Hit the Apply/Save button.

  • You now have your SSL Certificate activated on your website and this will change your website’s prefix from http to https.
  • You will also see a small green lock to signify that your website is secure.

Please make note: You still have to setup the SSL certificate to work on Virtuemart. To do this access the backend of the VM configuration -> Shop (tab) –> Enable SSL for sensitive areas [x] – turn on.