{"id":732,"date":"2020-06-04T13:53:40","date_gmt":"2020-06-04T05:53:40","guid":{"rendered":"https:\/\/www.wesbytes.com\/guide\/?post_type=kb&#038;p=732"},"modified":"2026-01-12T12:11:01","modified_gmt":"2026-01-12T04:11:01","slug":"joomla-force-https-secure-browsing-using-ssl","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/joomla-force-https-secure-browsing-using-ssl","title":{"rendered":"Joomla Force HTTPS (secure browsing using SSL)"},"content":{"rendered":"<div class=\"mkb-anchor mkb-clearfix mkb-back-to-top-inline\">\n<h4 class=\"mkb-anchor__title\">Joomla Force HTTPS(secure browsing using SSL)<\/h4>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/e\/e8\/Joomla%21-Logo.svg\/2560px-Joomla%21-Logo.svg.png\" alt=\"Joomla force HTTPS\" width=\"2560\" height=\"531\" \/><\/p>\n<\/div>\n<div class=\"mkb-anchor mkb-clearfix mkb-back-to-top-inline\">\n<h4 class=\"mkb-anchor__title\">Enable Force SSL in your Joomla site<\/h4>\n<p>&nbsp;<\/p>\n<\/div>\n<p><strong>Note:<\/strong>\u00a0we used <a href=\"https:\/\/www.joomla.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Joomla<\/a> 3 in this tutorial, for Joomla 2.5, it\u2019s the same.<\/p>\n<p><strong>Step 1: configure your configuration.php file<\/strong><\/p>\n<p>Open your\u00a0<code>configuration.php<\/code>\u00a0file<\/p>\n<p>Find the following line:<\/p>\n<p>var $live_site =\u201d;<\/p>\n<p>Replace with:<\/p>\n<p>var $live_site = \u2018https:\/\/www.your-domain.com\u2019;<\/p>\n<p>Next, open\u00a0<code>.htaccess<\/code>\u00a0file then add the following code to the bottom of the file.<\/p>\n<ol>\n<li>RewriteEngine On<\/li>\n<li>RewriteCond %{HTTPS} OFF<\/li>\n<li>RewriteRule (.*) https:\/\/%{HTTP_HOST}%{REQUEST_URI}<\/li>\n<\/ol>\n<p><strong>Step 2: enable Force SSL in your Joomla site<\/strong><\/p>\n<p>In the Admin Panel, navigate through\u00a0<strong>System &gt;&gt; Global Configuration<\/strong>\u00a0or simply click the\u00a0<strong>Global Configuration<\/strong>\u00a0button.<\/p>\n<p>Access Global Configuration in the back-end setting<\/p>\n<p>Within the\u00a0<strong>Server<\/strong>\u00a0tab, in the\u00a0<strong>Server Settings<\/strong>\u00a0section, there are 3 Force SSL alternatives that you can select, namely:<\/p>\n<ul>\n<li>None: SSL will not be enabled in your Joomla site.<\/li>\n<li>Administrator Only: connections to your administrator will be on HTTPS.<\/li>\n<li>Entire Site: connections all over your website will be on HTTPS.<\/li>\n<\/ul>\n<p>Configure Joomla Force SSL<\/p>\n<p>Hit the\u00a0<strong>Apply\/Save<\/strong>\u00a0button. You are done now! So let\u2019s check your site now.<\/p>\n<p>Joomla Force SSL is enabled<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Joomla Force HTTPS(secure browsing using SSL) Enable Force SSL in your Joomla site &nbsp; Note:\u00a0we used Joomla 3 in this tutorial, for Joomla 2.5, it\u2019s the same. Step 1: configure your configuration.php file Open your\u00a0configuration.php\u00a0file Find the following line: var $live_site =\u201d; Replace with: var $live_site = \u2018https:\/\/www.your-domain.com\u2019; Next, open\u00a0.htaccess\u00a0file then add the following code to the bottom of the&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[30],"kbtag":[1607,1377],"class_list":["post-732","kb","type-kb","status-publish","hentry","kbtopic-joomla","kbtag-https","kbtag-joomla"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=732"}],"version-history":[{"count":4,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/732\/revisions"}],"predecessor-version":[{"id":5913,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/732\/revisions\/5913"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=732"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=732"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}