The New HTTPS Redirection Feature in cPanel

Last modified: July 31, 2020
You are here:
Estimated reading time: 2 min

The cPanel keep making new features to automate the tasks on a user-friendlier manner, that they released a new feature on v80 to turn on/off HTTPS redirection for the websites from within the cPanel control panel interface. Nowadays, the HTTPS is one of the must-have features for a website that not only provides a secure layer but also gives out high SEO ranking on Google webmaster. You can refer our knowledge base article for more information about this here – https://www.fastycloud.com/tips/kb/ssl-https-will-boost-seo-ranking/

 

We, Interferer provides free SSL certificate with our Standard WebHosting package [ https://www.fastycloud.com/blog/fastycloud-offering-free-ssl-cpanel-users/ ], and also you can enable the same within your cPanel VPS/Dedicated server via AutoSSL feature. Please refer our Standard WebHosting package details at our website here – https://www.fastycloud.com/webhosting/ and also you can refer our knowledge base article on how to enable cPanel’s AutoSSL feature here – https://www.fastycloud.com/tips/kb/enable-manage-autossl-whmcpanel/

 

Once we have installed the SSL certs, we will need to enable the SSL navigation for the site to load securely by default. That means, the non-secure http:// URLs need to be redirected to the secure https:// URL by default, otherwise some people may still browse your site insecurely. In the past, we were made this possible using a rewrite rule statement within the site’s hidden htaccess file. The same process we have documented on our knowledge base here – https://www.fastycloud.com/tips/kb/redirect-site-to-ssl-using-apache-and-htaccess/

 

Since it is a manual modification, a small fault in the htaccess file may cause your site to go down having 500 Internal server error. The cPanel introduced a feature on their recent version that the users can enable/disable HTTPS redirection via cPanel by toggling a button. Here, we will show you how you can enable/disable this easily via cPanel so no need to put those rewrite rules in site’s htaccess.

 

1) Login to cPanel control using the details on hosting welcome email or by going to http://domain.com:2082

2) Click on “Domains” icon under the DOMAINS tab

Https redirection

 

3) Toggle the button beside the domain name where you’ve SSL installed. Please note that the toggle option will not available for the domains having no SSL cert installed and for Alias/Parked domains, as these domains are sharing the same SSL cert of the main domain name.

 

4) You can also activate the HTTPS redirection in bulk by selecting the domain names by click on the checkboxes from the list and then click on ‘Force HTTPS Redirect On’ at the top of the table.

Https redirection

 

If you need any assistance with setting up the above, feel free to get in contact with our support team either via email or LiveChat.

 

Was this article helpful?
Dislike 0
Views: 6