Enable HTTPS and SSL in Joomla

⏱ 5 min read 199 Updated April 23, 2026
Enable HTTPS and SSL in Joomla

Securing your Joomla website with HTTPS is one of the easiest and most effective ways to protect user data and improve SEO rankings. In this guide, you’ll learn how to install an SSL certificate, enable HTTPS inside Joomla, and fix common mixed content issues.

1. Why HTTPS Matters

HTTPS encrypts data transmitted between your site and your visitors, preventing attackers from stealing sensitive information like login credentials or form submissions. Additionally, Google uses HTTPS as a ranking factor, meaning secure sites get better visibility in search results.

2. Get an SSL Certificate

You can obtain an SSL certificate in one of three ways:

Ask your hosting provider to install it or do it yourself via cPanel β†’ SSL/TLS β†’ Install SSL.

3. Enable HTTPS in Joomla

Once your certificate is active, enable HTTPS from Joomla’s settings:

  1. Go to System β†’ Global Configuration β†’ Server.
  2. Find the setting Force HTTPS.
  3. Select Entire Site.
  4. Click Save & Close.

4. Redirect HTTP to HTTPS via .htaccess

If you still see your site loading with http://, enforce HTTPS manually. Add this code to the top of your Joomla root .htaccess file:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

5. Fix Mixed Content Warnings

Mixed content occurs when a page served over HTTPS loads images, CSS, or JS files from HTTP sources. To fix this:

6. Enable HSTS (HTTP Strict Transport Security)

HSTS ensures that browsers always use HTTPS for your site, even if someone types http://. Add this header to your .htaccess:

Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"

This tells browsers to enforce HTTPS for the next 12 months.

7. Update Internal Links and Canonical URLs

Go to System β†’ Global Configuration β†’ Site and ensure your Live Site URL begins with https://. Then, check all internal links (menus, modules, articles) to make sure they use HTTPS.

8. Check Your Site in Google Search Console

Add the HTTPS version of your site to Google Search Console. Submit a fresh sitemap so Google indexes your secure pages correctly.

9. Verify SSL Configuration

Use tools to confirm your SSL setup is valid and strong:

10. Combine HTTPS with Other Security Layers

HTTPS alone is not a full security solution β€” it works best when combined with firewalls, regular updates, and malware scans. Consider pairing SSL with:

Conclusion

Enabling HTTPS and SSL in Joomla is a must for any modern website. It not only protects user data but also improves SEO and visitor trust. Follow these steps to configure your SSL properly and maintain your Joomla site’s reputation and security.