Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: HTTPS to HTTP
06-05-2013, 05:02 AM #1
- Join Date
- Jun 2013
- Thanked 0 Times in 0 Posts
HTTPS to HTTP
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