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
Domain name not browsable, but IP can! What's wrong?

The ProblemWe have seen this problem rarely with some of our customers. They CAN browse their...

Do you offer any money back guarantee?

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

How to change file permissions in Joomla components?

The ProblemThis is a known issue with Joomla. When you install any Joomla components thru...

Do you support GD & ImageMagick?

Yes, we do support GD & ImageMagick modules.The module-binaries are located in under this...

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...