Forum Moderators: phranque
[sitename.com...]
to
[sitename.com...]
what should i do?
And also i only need to redirect "?keyword=¤tpage=1" not for "?keyword=¤tpage=2" or any other query string.
I tried this -
RewriteRule ^writingtips(.*)keyword(.*)currentpage=1$ [sitename.com...] [R=301,L] but now working.
Thanks,
You must use RewriteCond to test the query string, and you must append a "?" to the new URL to clear the current query string:
RewriteCond %{QUERY_STRING} ^keyword=¤tpage=1$
RewriteRule ^writingtips\.php$ http://www.example.com/writingtips.ph[b]p?[/b] [R=301,L]
Jim