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.

Was this answer helpful?

 Print this Article

Also Read

How to install an SSL Cert in Plesk

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

How to install an SSL Cert in CPanel

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

Configure your SSL with Unlimited Web Hosting

Short guide to configuring your SSL with Unlimited Web Hosting

Creating a Certificate Signing Request (CSR) in Plesk

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

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...