How to Manage SSL/HTTPS on Joomla website?

Posted by Sakshita

Manage SSL/HTTPS on Joomla Website

Joomla is an open-source content management system that is used to manage website content and improve the presentation of the website as well. You can install Joomla from cPanel or manually on your domain to do the same. 
But, it does not matter whether your have created your website in Joomla or WordPress, security of website is important.
When we talk about website security, installing SSL is the first step that is taken by each one of us at the beginning itself. 
So, here is the article with which you can secure your Joomla website by installing SSL and managing HTTPS to it.

# Install SSL

Installing SSL for any website is not a big task. This can be done very easily. Even, most of the service providers like NameCheap, BlueHost, HostGator etc provide Free SSL to the premium users. But in the hosting plan of REDSERVERHOST you will get Free SSL in all the plans.
If you do not have Free SSL but did not want to have any Premium service then you can install SSL from any third party like SSL for Free or Zero SSL.

# Manage HTTPS

After installing SSL certificate it is of sure that the Joomla website will redirect to https. But sometimes it took time or may not redirect. So, in that situation you can force HTTPS to the particular domain. 
There are multiple ways to force HTTPS to your Joomla website. Let us see one by one.
#1. From Dashboard
You can easily redirect your website to HTTPS from the administrator panel of Joomla,i.e Dashboard. Here are the steps to do the same.
  • Login to Admin Panel of Joomla.
  • Get inside System section and then click over Global Configuration in Setup tab.
  • On the next page, in the Server tab. Select "Entire Site" from the drop down menu in the Force HTTPS option.
  • Scroll down and click over Save to save the Settings.
Now, another way to manage HTTPS is from the cPanel. Go through the below mentioned procedure to do the same.

#2. From cPanel
Visitors using HTTP protocol to visit your website would not be automatically redirected to HTTPS. So, some tweaks are required. For that you need to edit two important files of your Joomla website. Follow the below given steps to do the same.
  • Login to cPanel associated with your Joomla website.
  • Get inside the File Manager section.
  • On the next page, get into domain directory where you have installed Joomla. Here you can do two things as mentioned.
A. Edit configuration.php file
  • Right click over the configuration.php file and then click over Edit.
  • Find the line
public $live_site = '';
and Replace it with
public $live_site='https://dominname.com';
  • Click over Save Changes.
B. Edit .htaccess file
  • Right click over .htaccess file and then click over Edit.
  • Add the following line at the bottom of the file. 
RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
  • Click over Save Changes.
*Replace domain.com with your domain neme.

That's it !!
We will bring more such articles that help you to manage your website presentation and its security as well.
Happy Reading !!
One-click Installer                                          Install Joomla
Cheap Web Hosting Services                       Web Hosting for Startup                             

Comments