Security and SSL

Enable HTTPS (SSL) in Joomla

Reviewed on 2 min read SSL Joomla

All our plans include free SSL certificates that are installed automatically, so any domain you host already works with https://. All that is left is for Joomla to always use it.

Before you start, open https://tudominio.com in the browser and check that it loads with the padlock. If you get a certificate error, wait for it to be issued or contact us.

Enable Force HTTPS

  1. Log in to the Joomla administrator (tudominio.com/administrator).
  2. Go to System > Global Configuration and open the Server tab.
  3. In Force HTTPS, choose Entire Site.
  4. Click Save.

From then on Joomla redirects all pages, including the administrator, to https://. You will find more details in Joomla's documentation on HTTPS.

If you also want the server to do the redirect before the request reaches Joomla (faster, and it also covers files and folders outside Joomla), add the .htaccess rule we explain in force secure access over https.

Do not use $live_site for this

Some old guides, including an earlier version of this article, recommended putting the address with https:// in $live_site, inside configuration.php. It is not necessary: Joomla detects its address on its own and setting it can cause incorrect links or redirect loops. Leave it empty:

public $live_site = '';

If warnings appear or you cannot log in

  • The padlock is crossed out or shows a warning: some image, CSS or script is still loading over http://. This is known as mixed content; you can fix it by following the site does not show as secure.
  • The site goes into a redirect loop or you cannot access the administrator: open configuration.php from the cPanel File Manager, find the line public $force_ssl = 2; and change it to public $force_ssl = 0;. This disables Force HTTPS and gets you access back. Then check that the certificate works and that you do not have another redirect rule in .htaccess that clashes with Joomla's.

You may also find useful

Something wrong or out of date? Tell us and we will review it.