Redirect Back to http
I'm so glad I found this post - what a nice little bit of code! I placed the code on my ordering and checkout pages, and it does redirect as it should. If you, for example, go to "view cart" from the quick cart link the top of any of the pages, it will redirect you to the secure version. If you click a link from that page - go back to the index page, for example, all of the pages are now using https. I'm completely fine with this, other than I am concerned about my shoppers dealing with that annoying, "do you want to view only the secure content" message on every page. Is there a way to redirect the page back to the regular version if they happen to continue shopping rather than completing with the checkout process? Perhaps there is a way to prevent that warning message from my end rather than depending on the customer to change their browser settings?
This isn't a huge problem - just curious. I'm just happy to get the security working so easily! Thanks much!!