SSL is a premium feature which all hosts provides specially upon request. For people who deals with Websites which are for Buy/Sell, or simply Ecommerce, SSL would be a required feature. SSL adds security to the browsing session since no data will be revealed and all things will be kept private which enhances the User and make him trusty enough to buy the product from the Mentioned Site. SSL costs some extra bucks but it sure increases the reliability, that a client makes on the site and thus resulting in more sales and henceforth.
So, A Lot of people buy SSL but are confused how to force the users to redirect to Https instead of the ordinary http which people come in. This can be done with a simple set of redirection urls, which amend or force up the user to https whenever he try to access http. So here Goes.
1.Find the htaccess file present in the site root.
2. Add these set of rewrite rules to it.
RewriteCond %SERVER_PORT !443
RewriteRule (.*) https://www.example.com/require-secure/ [R]
For a Better redirection, which is not based on Port no. and works on, when accessed from all ports is here. This seems to be the most reliable redirection, since it forces all users,with no Port checking or anyother extra steps.
RewriteCond %HTTPS off
RewriteRule (.*) https://%HTTP_HOST%REQUEST_URI