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}