# Redirect old OpenCart URLs RewriteCond %{QUERY_STRING} route=product/category RewriteCond %{QUERY_STRING} path=([0-9]+_)?([0-9]+) RewriteRule ^index\.php$ /index.php/category?category_id=%2 [R=301,L] RewriteCond %{QUERY_STRING} route=product/manufacturer/info RewriteCond %{QUERY_STRING} manufacturer_id=([0-9]+) RewriteRule ^index\.php$ /index.php/manufacturer?manufacturer_id=%1 [R=301,L] RewriteCond %{QUERY_STRING} route=product/product RewriteCond %{QUERY_STRING} product_id=([0-9]+) RewriteRule ^index\.php$ /index.php/product?product_id=%1 [R=301,L]