How to Install/Force HTTPS onto a Joomla site Друк

  • 0

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.

Ця відповідь Вам допомогла?

« Назад