How do I auto-redirect HTTP to HTTPS (SSL)?

To auto redirect from http to https (SSL) in Apache, add the following code to the top level .htaccess file...

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Was this answer helpful?

Also Read
How can I enable register_globals for my account?

'register_globals' is a PHP Directive. This is no longer being used in the newer version of PHP...

Where can I see your CPanel Demo?

We do have a CPanel demo for you that will give you a feel of using CPanel. Please remember that...

This page contains both secure and nonsecure items...

This below message occurs when you attempt to view a web page using https that contains images...

How often do you back up my site ?

Your entire website content (including all e-mails, MySQL databases etc) are automatically backed...

Which app can I install with my 1-click installer?

You can easily install a lot of scripts with our 1 click automatic installers. To see a complete...