Redirect User to SSL (Secure Server Layer) Page
After installing SSL on your web site, you may need to send visitors to secure https page. This can be done with .htaccess or by editing httpd.conf file in the server. Doing this with .htaccess file is very easy. Just create a new file with following content, save it as .htaccess and upload it to your web server. This will work with Apache web servers only, not on IIS/Windows.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
|