にリダイレクトする書き換えルールがありwww.OLDsite.co.uk/locations.php?area=Barking,%20Essex
ますwww.NEWsite.co.uk/locations.php?area=Barking,%20Essex
...ideally, anyways. The problem exists at the end of the url. Instead of redirecting to the new site above like it should...it makes the following url instead: www.NEWsite.co.uk/locations.php?area=Barking,%2520Essex
. I am really confused...here's my .htaccess file as it stands currently...
RewriteEngine on
RewriteRule ^locations.php/(.*)$ http://www.NEWsite.co.uk/locations.php$1 [R=permanent,L]
ErrorDocument 404 /404.php
I'm new to mod_rewrites, but I'm willing to learn. I know it's a very powerful tool and it wouldn't be a bad thing to have in my developer arsenal. All tips are appreciated.