Forum Moderators: phranque
Example:
cpc/test.php/?pid=1&showlogo=1&listings=10&searchstring=golf+balls
So that the query string becomes:
cpc/test.php?pid=1&showlogo=1&listings=10&searchstring=golf+balls
Any help appreciated.
Regards
Vance
Assuming you already have other working mod_rewrite code, it's simply a matter of removing the slash from test.php/
RewriteRule ^test\.php/$ http://www.example.com/test.php [R=301,L]
Jim
Thanks for your help but it still won't work.
Here's an actual example:
http://www.example.com/cpc/clickandcall_js.php/?pid=1&showlogo=1&listings=10&searchstring=golf+balls
This produces an error but if I remove the slash then it works fine.
Here is the rule I've tried.
RewriteRule ^clickandcall_js\.php/$ http://www.example.com/cpc/clickandcall_js.php [R=301,L]
[edited by: jdMorgan at 4:24 pm (utc) on Nov. 21, 2007]
[edit reason] example.com [/edit]