Hey Guys
I am using a Magento installation with the one step checkout plugin meanning I have very few pages that need https, I want to control https search indexing and user access by redirecting the whole https version of the site except of course for the secure checkout.
This is what I have so far but the https is not kicking in on the checkout page with this code, the redirect works in all other case (i.e. I send index https to index http) just the exception that is broken
#Redirect HTTPS to HTTP except checkout
RewriteCond %{HTTPS} on
RewriteCond %{REQUEST_URI} !^onestepcheckout
RewriteRule ^(.*)$ http://www.mysite.co.uk/$1 [R=301,L]
#Require SSL on checkout
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} ^onestepcheckout\/?$
RewriteRule ^(.*)$ https://www.mysite.co.uk/$1 [R=301,L]
Although I use htaccess a lot this is quite a complex one for my none programmer head to handle so any suggestions on how to fix it would be great.