.htaccess redirect https url to http
问题 I have a website with some areas that use https, however I'm having problems changing a few https urls to http ones. This is what I need: change this url url https://www.domain.com/somefile.php?PossibleGetParameters to this: http://www.domain.com/somefile.php?PossibleGetParameters This is what I have on my .htaccess: RewriteCond %{HTTPS} on RewriteCond %{REQUEST_URI} !^(/somefile.php) RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] With this condition all https urls are turned