I am trying to use .htaccess to make one page on my site redirect to it's https counterpart. The checkout.php page lives in the root / html folder of the site. ( /checkout.php ). I tried using this : (which i found online somewhere). I put it up and got an internal server error.
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} !checkout.php
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
The idea is, if a customer is on the checkout.php page then redirect to https... if they aren't, redirect to http. Any help would be awesome.