Webinova Online Customer Support > Webinova Help Desk > Knowledgebase

Search help:

How to enable SSL for Joomla using .htaccess?


You can enable SSL support in Joomla simply by adding a few lines of code to your main .htaccess file, i.e. the one residing in the public_html directory of your hosting account. If you don’t have an .htaccess file, you can simply create a new file with cPanel’s File Manager.


You can open the .htaccess file with the File Manager in cPanel and add the following lines at the top of the file:


RewriteEngine on

RewriteCond %{SERVER_PORT} !^443$

RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L]

<IfModule !mod_ssl.c>

Redirect permanent /



where should be replaced with your actual domain name. This will force every request to your website to go through SSL.

Was this article helpful? yes / no
Article details
Article ID: 283
Category: General Joomla FAQ
Date added: 2012-12-11 15:25:33
Views: 23
Rating (Votes): Article rated 3.0/5.0 (6)

« Go back

Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid