Hi, I need help tweaking a mod rewrite.
Right now users can come to my site with a url of http://site.com/catalog/product/123 (or /catalog/product/123/)
And it's rewritten to http://site.com/catalog/product.php?itemNo=123
Here's the rule(s) that do that:
RewriteRule ^/catalog/product/([A-Za-z0-9]+)$ /catalog/product.php?itemNo=$1 [L]
RewriteRule ^/catalog/product/([A-Za-z0-9]+)/$ /catalog/product.php?itemNo=$1 [L]
However, I need to be able to support additional parameters on the URL and carry them along in the rewrite... so for example, if the user comes to
Then I need that to be rewritten to:
The extra vars won't always be "v1" and "v2" -- I need a rewrite rule that will keep it open and just carry along whatever GET parameters were appended to the URL.
I've tried many times over to get this working, without luck ;-) Please help!