How to Enable SSL in Joomla
If you have a Joomla website, make it more secure by enabling Secure Socket Layer (SSL) encryption. The SSL protocol is the standard that prevents the diversion or interception of sensitive data while it is traveling over the Internet. The SSL protocol uses the "https" Internet address prefix rather than the more common "http." Joomla supports SSL and it is included during installation. However, by default, Joomla disables the SSL protocol. It's a relatively simple task to enable SSL in Joomla.
Instructions
-
-
1
Log in into your Web hosting account and open "File Manager" or another file viewing application in your control panel. Locate the ".htaccess" file in your site's root directory and download it to your computer.
-
2
Add the following code to the ".htaccess" file:
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L]
<IfModule !mod_ssl.c>
Redirect permanent / https://www.yourdomainname.com
-
-
3
Replace the "www.yourdomainname.com" entry with your own website's domain name.
-
4
Upload the ".htaccess" file from your computer to the root directory of your website using the control panel for your Web hosting account. If prompted to overwrite the existing file, choose "Yes."
-
5
Log in to your Joomla website as an administrator.
-
6
Click the "Global Configuration" link in the Joomla control panel. Click the "Server" tab at the top of the page.
-
7
Click the drop-down box next to the "Force SSL" label under "Server Settings." Choose the "Entire Site" option. Click the "Save" icon in the upper-right corner of the screen. Joomla now enforces SSL logins for all site users.
-
1
Tips & Warnings
Your Web hosting company will need to install and activate your SSL certificate for the Joomla site before enabling SSL on the server.
References
- Photo Credit padlock image by kshishtof from Fotolia.com