Enabling SSL in my Joomla site

asked Nov 22, 2012 in Website Builder by Donald (2,780 points)
I have created my website using Joomla 2.5 and now I want to enable SSL on my site for  to secure my site. I am not sure how to enable SSL in Joomla, can anyone please advice?


1 Answer

0 like 0 dislike
answered Nov 22, 2012 by JoomAp (5,660 points)
1.From your web hosting account go to your File Manager and locate the file ".htaccess" from your site's root directory and then download it to your computer. Then add the following code to your  ".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.yourdsite.com
2.Upload the  modified ".htaccess" file from to your website’s root directory using your control .
3.Login with an admin account to your Joomla website and go to  "Global Configuration"  and o to the "Server" tab. Click on the dropdown box beside the "Force SSL" under "Server Settings." , select  the option "Entire Site"  and Save.