Redirect Website to HTTPs

To redirect your website to HTTPS. Enter the following to your .htaccess file.

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

Save the file, then test via your browser.

  • 0 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

Creating a Certificate Signing Request (CSR) in cPanel

In order to generate a CSR in Cpanel, follow the steps below1) Log into your cpanel control...

How to install an SSL Cert in cPanel

In order to install an SSL cert after purchasing follow the steps belowThis article assumes you...

Filezilla TLS workaround

To use plain FTP in filezilla please set up a new connection in Site Manager. File > Site...

Powered by WHMCompleteSolution