RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
The pages in the new site are in the directory /shop/ and have a similar rewrite rule:
RewriteRule ^(.*)--id_(.*).html$ product.php?id=$2&%{QUERY_STRING}
How do I use a "Redirect 301" for this? If they were normal pages I could just do something like
Redirect 301 somepage.html ../shop/somepage.html
but with the Rewriterules I'm not sure how to do this