I would simply like to rewrite all requests from:
http://example.com/products/product.cfm?id=product-name
to
http://example.com/products/product-name
and secondly,
http://example.com/category.cfm?id=some-category&sub=sub-category
to
http://example.com/some-category/sub-category
Here is what I’ve tried:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^products/$1 ^products/product.cfm?id=$1 [NC]
I'm sure that makes no sense, as I really have no idea what I am doing. I was hoping someone could show me where I'm going wrong so I could follow by example.
Thanks! George