我现在有:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain.co.uk$ [NC]
RewriteRule ^(.*)$ http://domain.co.uk/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://domain.co.uk/$1/ [L,R=301]
RewriteRule ^fishing/([^/]*)/([^/]+) fishery.php?url=$2®ion=$1 [L]
RewriteRule ^fishing/([^/]*)/?$ region.php?region=$1 [L]
RewriteRule ^fishing?$ fishing.html [L]
我已经添加了所有代码来改进 SEO。删除 www。总是添加尾随 / 等等。现在问题是当我做 domain.co.uk/fishing/ 它加载 region.php 文件而不是 fishing.html
我怎样才能防止这种情况?