Hey all,
I have 3 pages for credit card billing and I want users to force using SSL (https) protocol. I know i can use .htaccess file under apache to create a rule for that but i can’t really fing an example or good man that i can understand. (I know its not really PHP but hopefully some one can help me out)
so what i need is soenthin like:
if user goes to <any protocol other then https> && <“www” or “”> mydomain.com/creditcard.php
THEN redirect it to “
I have this example but it is a bit other way around:
[code=php]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^$ http://domain.com/index.php [L,R=301]
Thanks for help!