Hey all,
Little bit of an easy question I'm sure, but Google has failed me!
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
I'm looking to add to the above OSCommerce rewrite rule to point to a different file if a specific query paramater is present i.e. if inbound URL query string contains "test=a" then change the rewrite path appending the query string back to a different file, ideally minus the paramater I'm testing for.
I've hacked around for a bit but to no avail. Any ideas?
Cheers,
DM
Hi DM,
What would the format of the new file be? Still like this: product_info.php?products_id=$2&%{QUERY_STRING} ?
I mean, would the "new file" still have a products_id value?
(When I'm looking for something specific, I usually just use a rewritecond.)
Bompa