Security and SSL
Enable HTTPS (SSL) in 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
- Log in to the Joomla administrator (
tudominio.com/administrator). - Go to System > Global Configuration and open the Server tab.
- In Force HTTPS, choose Entire Site.
- 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.phpfrom the cPanel File Manager, find the linepublic $force_ssl = 2;and change it topublic $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.htaccessthat clashes with Joomla's.
You may also find useful
- AutoSSL notice: the renewal may reduce coverage Explains the reduction of coverage notice, how to find the domain that fails validation and when to...
- Automatic SSL certificates for domains and subdomains Check AutoSSL's free coverage and enable HTTPS on your website once the certificate is valid.
- Diagnose an invalid SSL certificate Tell apart a wrong name, expiry and the chain of trust; check the DNS destination and the AutoSSL st...
- Enable HTTPS in PrestaShop Explains how to check the certificate first, enable SSL in current and older versions of PrestaShop...
Something wrong or out of date? Tell us and we will review it.