Forum Moderators: phranque
I am trying to convert the following:
www.widgets.com/category/sub/details.asp?prodid=1
to
www.widgets.com/product.php?product_id=1
but I am having trouble replacing the querystring parameter prodid with product_id
I tried the following but it doesn't work:
Options +FollowSymLinks +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^detail.asp\?prodid=$ /product.php?product_id=$1 [QSA]
</IfModule>
Any suggestions?