I have a page, page.php that I need to be redirected to http if it is accessed through https because otherwise my google ads won’t show up.
To be precise, I would like the following to happen:
https://site.com/page.php?blah=foo?bar=blah –> http://site.com/page.php?blah=foo?bar=blah
I have so far tried :
RewriteCond %{HTTP_HOST} on
RewriteRule ^page\.php$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
But this doesn’t work. Any suggestions?
This might also be a quick copy paste