Forum Moderators: phranque

Message Too Old, No Replies

Rewrite rule help

         

vancer

12:03 pm on Nov 2, 2007 (gmt 0)

10+ Year Member



I need to take a URL & remove the forward slash (/) before the?pid

Example:
cpc/test.php/?pid=1&showlogo=1&listings=10&searchstring=golf+balls

so that the URL is:
cpc/clickandcall_js.php?id=1&showlogo=1&listings=10&searchstring=golf+
balls

Regards
Vance

vancer

12:05 pm on Nov 2, 2007 (gmt 0)

10+ Year Member



Sorry - it should have been:

I need to take a URL & remove the forward slash (/) before the?pid
Example:
cpc/test.php/?pid=1&showlogo=1&listings=10&searchstring=golf+balls

so that the URL is:
cpc/test.php?id=1&showlogo=1&listings=10&searchstring=golf+balls

Regards
Vance

jdMorgan

12:45 pm on Nov 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Vance, and welcome to WebmasterWorld!

Please post your best-effort at coding these requirements as a basis for discussion. You may wish to review our forum charter [webmasterworld.com] to learn how to get the most from this forum.

Thanks,
Jim