I've got a url type:- http://www.example.com/products.php?cat=1 which I am able to rewrite to:- http://www.example.com/myproduct1 using the following .htaccess rule:- RewriteRule ^myproduct1$ products.php?cat=1.
What rule would I need to enter if I wanted to rewrite to:- http://www.example.com/myfolder1/myproduct1/?