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
Do you offer any money back guarantee?

Yes, we do.Click here to see our refund / cancellation policy.

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 do I upload files to my server using WinSCP?

Follow the steps shown below to upload files to your server:1) Download and install WinSCP tool...

How do I create an Addon Domain?

An Addon Domain is similar to a subdomain and created in much the same way. An Addon Domain has...

Can I switch between PHP-4 and PHP-5?

Yes, you can easily switch between PHP-4 & PHP-5 anytime you wish. To see how, see the...