Remove www site-wide, force https on certain directories and http on the rest?
问题 Firstly, I would like to remove the www. from my domain name http://www.example.com => http://example.com I would also like for certain directories to be secure (https), while the rest remain http http://example.com/login => https://example.com/login Obviously it needs to work for all conditions, for example if someone types in: http://www.example.com/login => https://example.com/login Also when people navigate away from the login page it returns to http. Currently in the .htaccess is the