Hi all

I've been hunting around how to setup a redirect in my htaccess but with no luck.

I have a shopping cart installed with a SSL cert. Currently my whole site works on both http and https. If you go to checkout or login pages etc then the CMS directs to HTTPS as it should.

However I want all pages to redirect to http except checkout / login etc to avoid any duplicate content issues. Google has actually indexed a few of my products as https so redirect would need to be 301 perm.

So i'm guessing I need to go this in htaccess, redirect all https to http expect certain pages.

What code do I need to insert for that?

Thanks in advance