私は新聞に取り上げられたウェブサイトを持っています。彼らは私のアドレスを掲載しました...
www.mysite.com/about.php。
上記にアクセスすると、404dot
が php の最後に表示されます...
これを正しいページにリダイレクトできる htaccess の方法はありますか?
現在のhtaccess
RewriteEngine On
RewriteRule ^(.*)\.php\. $1.php
RewriteRule ^people/([^/]*)/([^/]*)/([^/]*)$ /profile.php?county=$1&name=$2&id=$3 [L]
RewriteRule ^people-in-(.*) /people.php?county=$1 [L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite\.co.uk$
RewriteRule (.*) http://www.mysite.co.uk/$1 [R=301,L]
RewriteCond %{REQUEST_URI} ^/index.php$
RewriteRule (.*) / [R=301,L]
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
ErrorDocument 404 /notfound.php