I'm trying to write a rewrite rule that works something like:
www.sitename.com/products.php?p=product&c=category
should become
www.sitename.com/product/category
I have tried the following, but my RegEx knowledge is far from ideal and the following does not work
RewriteRule ^(.*)/(.*)$ products.php?p=$1&c=$2 [QSA,L]
Any help is greatly appreciated!