How to Get Free SSL for Joomla
Free SSL for Joomla works the same way as for any PHP site: the certificate comes from your host, and Joomla has a setting that makes the site and the administrator use https. Get the certificate working first, back up, then switch Force HTTPS to Entire Site.
Step 1: install the free SSL certificate for Joomla
In your hosting panel, issue a free certificate for the root and www names. On cPanel this is AutoSSL under SSL/TLS Status. Our guide to free SSL on shared hosting covers the common panels. Test with the SSL checker before touching Joomla.
Step 2: Back up
Back up the files and the database. A mistake in configuration.php can stop the site from loading, so keep a copy of that file.
Step 3: force HTTPS so every Joomla page uses free SSL
In the Joomla administrator go to System → Global Configuration → Server. Find Force HTTPS. The options are None, Administrator Only and Entire Site. Choose Entire Site once https loads correctly, then save.
| Option | Effect | Use when |
|---|---|---|
| None | No forced redirect | Before the certificate works |
| Administrator Only | Only the backend uses https | Testing |
| Entire Site | Every page redirects to https | Certificate is working |
If you lose access after saving, edit configuration.php by FTP and set the value back:
public $force_ssl = '0';
The values are 0 for none, 1 for administrator only and 2 for entire site.
Step 4: Check the live site address
Look at the $live_site line in configuration.php. If it holds an http address, change it to https or leave it empty so Joomla works it out:
public $live_site = '';
Step 5: Add a server redirect as a backstop
Joomla ships with an htaccess template, usually named htaccess.txt, which you rename to .htaccess. You can add a redirect to it:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
If you use both the setting and this rule, test carefully for loops. One or the other is enough in most cases.
Step 6: Find mixed content
Articles, modules and templates often hold http links. Open pages with the browser Console and note the blocked URLs. Edit the articles or modules directly, or run a replace in the database after a backup. The ideas in our mixed content guide apply to Joomla as well, even though the examples there use WordPress.
Behind a proxy or CDN
If TLS ends at a proxy, Joomla may think the request is http and loop. Make sure the proxy sends the forwarded protocol and that your server passes it on. See the reverse proxy SSL guide.
Final checks
- Frontend and administrator both load with a padlock.
- http:// redirects to https:// once.
- Extensions with hard-coded http endpoints are updated.
- Sitemap and Search Console use the https address.
Later, consider headers with the security headers guide.
Template and extension checks
Open the template files for hard-coded addresses. Look in templates/your-template/index.php and any custom HTML modules. Replace absolute http links with relative paths. Then review extensions that connect to outside services, such as maps, forms and analytics. Update them, because older versions may call http endpoints and trigger warnings.
Cache and sessions
Clear the Joomla cache from System → Clear Cache after the change, and clear any server or CDN cache. Users may need to log in again because sessions started on http are not valid on https. If login fails, clear your cookies and try a private window before assuming something is broken.
Keep a note of what you changed in the configuration file and the date. When you update Joomla later, check that the Force HTTPS setting is still on.
Quick questions
Can I force https for only part of the site?
The built-in option covers the administrator or the entire site. Partial rules need server configuration and are rarely worth the effort.
Where do I look if the backend is unreachable?
Open configuration.php over FTP and check the force_ssl line and the live_site line.
Related reading: free SSL for WordPress and free SSL on shared hosting.
Frequently Asked Questions
Can I force https for only part of the site?
The built-in option covers the administrator or the entire site. Partial rules need server configuration and are rarely worth the effort.
Where do I look if the backend is unreachable?
Open configuration.php over FTP and check the force_ssl line and the live_site line.
Does the certificate cover the administrator folder?
Yes. The certificate covers the hostname, so every path on that hostname uses it, including /administrator.
Will users have to log in again?
Usually yes. Sessions started over HTTP are not valid over HTTPS, so ask editors to sign in once after the switch.
Who renews the certificate?
Your host, in the same panel where you issued it. Joomla does not renew anything, so a failed host renewal still shows up as a Joomla outage.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.