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.
  • 114 Users Found This Useful
Was this answer helpful?

Related Articles

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

Configure your SSL with Unlimited Web Hosting

Short guide to configuring your SSL with Unlimited Web Hosting

Can I use Let's Encrypt on my website on the shared servers?

If you are on a Plesk server, Let's Encrypt will already be enabled. If you are on a cPanel...

How to order an SSL Certificate

In order to order an SSL Certificate from us, please follow the steps below:1) Make sure you are...