How to Redirect From HTTP to HTTPS CentOS Web Panel CWP Hosting

You can redirect from HTTP to HTTPS by adding the following code in your .htaccess file, If it is not there, you can make a file and after add it:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R,L]

Where, is your domain name. 

  • CWP, CentOS Web Panel, CWP Hosting, HTTP to HTTPS, HTTP to HTTPS Redirection, HTTP to HTTPS Redirection .htaccess, HTTP to HTTPS Redirect CWP, CentOS Web Hosting HTTP to HTTPS Redirection
  • 567 Users Found This Useful
Was this answer helpful?

Related Articles

How to install Attracta SEO Plugin On cPanel/WHM Server Freely

Hey Guys,Before we begin to install this plugin, let's first understand what is this plugin all...

Server Error 503 Service Temporarily Unavailable

Cause PHP-FMP Service is stopped or not running from the PHP version you have set. Resolution...

What OpenVZ OS Templates do you Provide?

HostNamaste offers a wide range of Operating Systems (OpenVZ templates) for our VPS users. If...

How to Update WHMCS Manually

1) Download the latest version of WHMCS from here: 2) Extract the zip...

How to Check TUN/TAP or PPP Enabled in the VPS/Server

  - To confirm TUN/TAP is enabled type “cat /dev/net/tun“. If you receive the message “cat:...