.htaccess
#to redirect a site set up for https to http EXCEPT for one folder. The commented out line is to except one page. I found that didn’t work as the images/css were not recognized as https which defeats the purpose. I ended up putting the one file I wanted as secure in a folder with the images and css all in that folder. All browsers complied with that.
RewriteEngine On
RewriteCond %{HTTPS} on
#RewriteCond %{REQUEST_URI} !(^yourpagename.html)
RewriteCond %{REQUEST_URI} !^/foldername/
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
# To redirect all users to access the site WITHOUT the ‘www.’ prefix,
# (http://www.example.com/… will be redirected to http://example.com/…)
# uncomment the following:
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
#to redirect from https to http:
RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
#to redirect from http to https
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}