RewriteRule ^products/([^/]+)/([^/]+)$ review/product.php?prod_id=$1&red_id=$2
I set this rewrite
but I just found a problem: there must be prod_id
and red_id
to
I red_id
is selective, prod_id
is necessary
so what I want to do is: when I enter the products/XXX, it can also be effective, but not necessarily have to have red_id
(products/XXX / AAA) to browse normally, how can this be set?