How to use SSL with joomla

Written by jeff grundy Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to use SSL with joomla
Add SSL to your Joomla website to make it more secure. (padlock image by kshishtof from

If you have a Joomla website where private or otherwise sensitive data is stored or transferred, purchase a Secure Socket Layer (SSL) certificate from your Web hosting provider or other certificate reseller. The SSL encryption protocol protects sensitive data while it traverses the Internet and ensures that it is not viewable by would-be hackers or data-phishers. Adding an SSL certificate and enabling it on your Joomla site will allow you and your site's users to log in with the secure "https" protocol instead of the standard "http" prefix.

Skill level:


  1. 1

    Purchase an SSL certificate from your Web hosting provider or another reseller. Have the provider enable the certificate for use on your domain.

  2. 2

    Browse to the control panel for your Web hosting account. Use the "File Manager" to locate the ".htaccess" file in your site's root directory. Download and save the file to your computer.

  3. 3

    Open the ".htaccess" file with Notepad or another text editor. Add the following code to the text file:

    RewriteEngine on

    RewriteCond %{SERVER_PORT} !^443$

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

    <IfModule !mod_ssl.c>

    Redirect permanent />

  4. 4

    Delete the "" reference and replace it with the domain name for your Joomla site. Save the file and exit the text editor program.

  5. 5

    Open the "File Manager" application in your website control panel. Browse to the directory on your computer where you saved the ".htaccess" file. Upload the file to the root directory of your website. Overwrite the current ".htaccess" file if prompted to do so.

  6. 6

    Browse to the administrative page for your Joomla website and log in as an administrator.

  7. 7

    Browse to the "Global Configuration" link on the main control panel page in Joomla. Click the link to go to the main Joomla settings page.

  8. 8

    Click on the "Server" tab near the top of the "Global Configuration" page.

  9. 9

    Click the "Force SSL" drop-down box and select the "Entire Site" option. Click the "Save" icon in the upper right corner of the "Global Configuration" page.

  10. 10

    Log in to the Joomla website as you normally would. Because you changed the ".htaccess" file, Joomla will now redirect normal "http" requests to the more secure "https" login page.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.