Currently my .htaccess is the following: RewriteEngine on RewriteCond %{HTTP_HOST} ^domain\.com RewriteRule ^(.*)$ https://www.domain.com/$1 [R=permanent,L] Code (markup): That makes it that whoever opens http://domain.com they r redirected to https://www.domain.com i want it that who ever opens http://domain.com , http://www.domain.com and https://domain.com are redirected to https://www.domain.com in short i want 3 variations of the domain (out of 4) to be redirected to another variation... any suggestions?
http://joseph.randomnetworks.com/archives/2004/07/22/redirect-to-ssl-using-apaches-htaccess/ Check out that page, it should help!