我有一个动态网站PhotographyAttic 使用我的htaccess文件中的以下代码
RewriteEngine on
RewriteBase /
#Make dynamic url neater
RewriteRule ^category-(.*) category.php?catid=$1
RewriteRule ^manufacturer-(.*) manufacturer.php?manuid=$1
RewriteRule ^product-(.*) product.php?id=$1
#remove.php from end of url
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
#force www
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} !^www.photographyattic.com$ [NC]
RewriteRule ^(.*)$ http://www.photographyattic.com/$1 [L,R=301]
如何修复以下错误
http://www.photographyattic.com/category.php?catid=9和http://photographyattic.com/category.php应解析为相同的网址,但目前不会。