I am trying to configure .htaccess to redirect all "http" to "https" - except subdomains (but still include 'www' and 'static').
Ex: http://abc.com -> https://abc.com
http://www.abc.com -> https://www.abc.com
http://static.abc.com -> https://static.abc.com
http://hello.abc.com -> http://hello.abc.com
http://hi.abc.com -> http://hi.abc.com
http://bye.abc.com -> http://bye.abc.com (please note that I am creating random subdomains... thus I can't exclude a given number of subdomains)
I am literally pulling my hair out for hours on this issue.
1,000 thanks for your help!! Damien