将 /goods?id=123 重写到 /index.php?route=product/product&product_id=123
RewriteBase / RewriteCond %{QUERY_STRING} ^id=(w+)$ RewriteRule ^goods index.php?route=product/product&product_id=%1
将 /goods?id=123 重写到 /index.php?route=product/product&product_id=123
RewriteBase / RewriteCond %{QUERY_STRING} ^id=(w+)$ RewriteRule ^goods index.php?route=product/product&product_id=%1