I use several rewrite rules in my htaccess file to make static addresses for my dynamic php pages. The rules work, the pages load just fine but for some reason it still recognises it as a 404 error meaning I get thousands per month in the error log even though it's working. Can anybody here help me solve the problem? I've included the relevant parts of the htaccess file below...
RewriteEngine on
RewriteBase /
RewriteRule ^browse/$ browse.php
RewriteRule ^browse/(.[^/]*)/$ browse.php?by=$1
RewriteRule ^browse/(.[^/]*)/(.[^/]*)/$ browse.php?by=$1&q=$2
RewriteRule ^reviews/?$ reviews.php
RewriteRule ^reviews/([0-9]+)/?$ reviews.php?site=$1
RewriteRule ^reviews/(.[^/]*)/?$ reviews.php?site=$1