I cant seem to get this to work. I have a site that i moved from asp to php. There are a few old search pages that i need to direct to the new php search pages: My first attempt was:
Trying to direct /sra.asp?s=keyword1 to /cat.php?keyword=keyword1
I'm using -
RewriteRule ^sra\.asp\?s=(.*) /cat.php?keyword=$1
But the rule seems to be ignored as visitors are still getting a 404 from the old .asp page.
Anyone have any ideas what i am doing wrong?