redirect a single URL to another - removing the query string
问题 I have a single url something like this where 456 is the ID of the category and has been rewritten into a seo friendly url: http://www.mydomain.com/category/nameofcategory/456.htm (This is done with this rewrite rule: RewriteRule ^category/.*/([0-9]+) home/categoryview.php?id=$1 [L,QSA] I need to keep this intact for all the other categories.) I'd like to .htaccess redirect my 456 category to a specific product's url: http://www.mydomain.com/products/nameofproduct/123.htm If add the following