How to redirect HTTP to HTTPS

You can permanently migrate HTTP traffic to HTTPS by adding the following code at the top of .htaccess file on your website:

 

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



If you don't manage to do it, please open a support ticket and we'll do it for you.

  • HTTPS
  • 1204 Users Found This Useful
Was this answer helpful?

Related Articles

How to access WHM?

We provide WHM access only for our customers on our Cloud Hosting and Dedicated Server accounts....

Can i use phpMyAdmin outside cPanel?

The phpMyAdmin tool available in cPanel is bundled with it and can be used only if you are...

Whats is an Inode or File Usage indicator in cPanel?

An inode is a record in a disk table, which contains information about a file or folder such as...

How to reduce the number of inodes my account uses?

The number of inodes equals the total number of files and folders on your web hosting account. In...

Can I access cPanel from the customer area (one portal)?

Yes, you can access cPanel directly from your Customer's Area, click "Manage product" from My...