basahkuyup
10-16-2006, 03:56 AM
I have this in my .htaccess:
RewriteRule ^products/([0-9]+).html$ productlist.php?catid=$1 [L]
I have a page productlist.php that lists all products for a particular category (catid). The rewriterule works fine if I have only 1 page of products. Example:
products/8.html will be rewritten to productlist.php?catid=8
The problem is when I have to go to second page of a particular product category, it will keep showing the first page. The link to second page is the following:
products/8.html?start=2&pageno=2
I expect the rewriterule will rewrite it to
productlist.php?catid=8&start=2&pageno=2
but it didn't happen.
Anyone have any ideas?
RewriteRule ^products/([0-9]+).html$ productlist.php?catid=$1 [L]
I have a page productlist.php that lists all products for a particular category (catid). The rewriterule works fine if I have only 1 page of products. Example:
products/8.html will be rewritten to productlist.php?catid=8
The problem is when I have to go to second page of a particular product category, it will keep showing the first page. The link to second page is the following:
products/8.html?start=2&pageno=2
I expect the rewriterule will rewrite it to
productlist.php?catid=8&start=2&pageno=2
but it didn't happen.
Anyone have any ideas?