I already have a 301 from HTTPS
to HTTP
sitewide.
But I want to exclude checkout pages so that they are always HTTPS
(located in "/shopping-cart/")
Tried this:
#RewriteCond %{SERVER_PORT} ^443$
#RewriteRule ^(.*)$ http://www.example.com$1 [R=301]
#RewriteCond %{SERVER_PORT} ^80$
#RewriteCond %{HTTP_HOST} ^www.example.com$
#RedirectRule ^/shopping-cart(.*)$ https://%{HTTP_HOST}/shopping-cart$1 [R=301]
This gives me a redirect loop when I get to /shopping-cart/
pages