Forum Moderators: phranque
I've got a page which I need to secure using https
At the moment the page has a line of php code to redirect the user to https if they arrive at http.
However, when they finish on this page I want to ensure that if they click off to another area of the site they are using http only.
The process is:
checkout page. Posts form to:
process page (visitor does not see this)
Auto redirects to:
confirmation page
However if I auto redirect to non-secure confirmation page the user gets a security warning. If I redirect to a secure confirmation page, then all the links on the page are secure too. I don't really want to hardcode all my links as http:// on this page
Is there anyway to use htaccess to catch any requests to secure pages, and if they dont meet a particular page name, redirect to http?