{"id":3437,"date":"2019-10-25T10:42:42","date_gmt":"2019-10-25T02:42:42","guid":{"rendered":"https:\/\/www.mondoze.com\/guide\/?post_type=kb&#038;p=3437"},"modified":"2022-10-08T18:25:37","modified_gmt":"2022-10-08T10:25:37","slug":"joomla-force-httpssecure-browsing-using-ssl","status":"publish","type":"kb","link":"https:\/\/www.mondoze.com\/guide\/kb\/joomla-force-httpssecure-browsing-using-ssl","title":{"rendered":"Joomla Force HTTPS (secure browsing using SSL)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3437\" class=\"elementor elementor-3437\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3d8e500f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3d8e500f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a7e1ab1\" data-id=\"a7e1ab1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cbf5fd2 elementor-widget elementor-widget-heading\" data-id=\"cbf5fd2\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Joomla Force HTTPS(secure browsing using SSL)<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1bb1b1c7 elementor-widget elementor-widget-text-editor\" data-id=\"1bb1b1c7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<article id=\"article-body\" class=\"article-body\"><h4>Enable Force SSL in your Joomla site<\/h4><p><strong>Note:<\/strong> we used Joomla 3 in this tutorial, for Joomla 2.5, it\u2019s the same.\u00a0<\/p><p><strong>Step 1: configure your configuration.php file<\/strong><\/p><p>Open your\u00a0<code>configuration.php<\/code>\u00a0file<\/p><p>Find the following line:<\/p><p>var $live_site =&#8221;;<\/p><p>Replace with:<\/p><p>var $live_site = &#8216;https:\/\/www.your-domain.com&#8217;;<\/p><p>Next, open\u00a0<code>.htaccess<\/code>\u00a0file then add the following code to the bottom of the file.<\/p><ol><li>RewriteEngine On<\/li><li>RewriteCond %{HTTPS} OFF<\/li><li>RewriteRule (.*) https:\/\/%{HTTP_HOST}%{REQUEST_URI}<\/li><\/ol><p><strong>Step 2: enable Force SSL in your Joomla site<\/strong><\/p><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><p>Access Global Configuration in the back-end setting<\/p><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><ul><li>None: SSL will not be enabled in your Joomla site.<\/li><li>Administrator Only: connections to your administrator will be on HTTPS.<\/li><li>Entire Site: connections all over your website will be on HTTPS.<\/li><\/ul><p>Configure Joomla Force SSL<\/p><p>Hit the\u00a0<strong>Apply\/Save<\/strong>\u00a0button. You are done now! So let&#8217;s check your site now.<\/p><p>Joomla Force SSL is enabled.<\/p><\/article>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Joomla Force HTTPS(secure browsing using SSL) Enable Force SSL in your Joomla site Note: we used Joomla 3 in this tutorial, for Joomla 2.5, it\u2019s the same.\u00a0 Step 1: configure your configuration.php file Open your\u00a0configuration.php\u00a0file Find the following line: var $live_site =&#8221;; Replace with: var $live_site = &#8216;https:\/\/www.your-domain.com&#8217;; Next, open\u00a0.htaccess\u00a0file then add the following code &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.mondoze.com\/guide\/kb\/joomla-force-httpssecure-browsing-using-ssl\"> <span class=\"screen-reader-text\">Joomla Force HTTPS (secure browsing using SSL)<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[93],"kbtag":[110],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/3437"}],"collection":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/comments?post=3437"}],"version-history":[{"count":6,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/3437\/revisions"}],"predecessor-version":[{"id":19156,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/3437\/revisions\/19156"}],"wp:attachment":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/media?parent=3437"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=3437"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtag?post=3437"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=3437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}