How to Install/Force HTTPS onto a Joomla site

The following instructions will force HTTPS onto a Joomla site.

  • In the configuration.php file look for the line that contains
    $live_site ='';

  • Update the line to add in your domain including HTTPS,
    Example: $live_site = 'https://www.example.com';

  • Locate the associated .htaccess file for the domain and in the following code:
    RewriteEngine On
    RewriteCond %{HTTPS} OFF
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

  • Next, open your Joomla admin panel, then click Global Configuration.

  • Go to the Server tab, then to Server Settings.

  • Here you will be presented with three options for how HTTPS should function for your Joomla installation:Click Apply/Save to update your Joomla site.
    • None: HTTPS will be disabled.
    • Administrator Only: Will force just the administrator page with HTTPS.
    • Entire Site: All pages will have HTTPS enabled.
  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

Preventing Joomla Website Hacking

Solutions for Joomla Hacked Sites Joomla hacks are very common, and in previous versions,...

Preventing Wordpress Hacking

Solutions for Wordpress Hacked Sites This is a very common issue with WordPress. WordPress is...