I searched the forums and found what I think are the answers I need but I wanted to make sure I am not way off base before I edited the htaccess file.
I am migrating from oscommerce to zencart and I need to redirect existing dynamic links from
http://mystore.com/product_info.php?cPath=41&products_id=810
to
http://mystore.com/shop/index.php?main_page=product_info&cPath=41&products_id=810
Here is the code that I hope should work.
<code>
RewriteEngine on
RewriteCond %{QUERY_STRING} ^id=(.*)$
RewriteRule ^product_info.php?$ http://mystore.com/shop/index.php?main_page=product_info&$1 [R=301, L]
</code>