can someone explain why neither of these rules work:_
Rule 1:_
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^(.*)(?!wp-login) [NC]
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L]
_Rule 2:_
RewriteCond %{REQUEST_URI} ^wp-login(.*)$
RewriteRule .? - [S=1]
RewriteCond
On Mon, Oct 18, 2010 at 1:43 PM, James Jones ja...@freedomnet.co.nz wrote:
can someone explain why neither of these rules work:
Without a rewritelog or a description of what URL is/is-not rewritten
as you expect, it will be difficult.
What context are your rules in? htaccess, Directory,
I've tried dozens of iterations of rules, from simple like ^wp-login
to much harder and more complex ones matching the whole address or only
a part of one, it seems that i cant get any of them to work, either the
rule will rewrite all the urls to http, or i get into an infinite
redirect
everything going to https://somesite.com needs to go to http://somesite.com
so for example https://somesite.com/somedir/somefile.php?somevar=someval
needs to be redirected to
http://somesite.com/somedir/somefile.php?somevar=someval
and that is true except for when goint to say