私はしばらく自分のウェブサイトで作業してきましたが、最近、通常は転送されるディレクトリhttp://parabolah.cf/documentation/のように、/ の後に / がある URL に到達するとエラーが発生します。あなたが別のページに移動しないか、スラッシュの後にhttp://parabolah.cf/index/があるページでは、これらのエラーが私の現在の .htaccess コードで発生します。
ErrorDocument 404 /404
ErrorDocument 500 /500
ErrorDocument 206 /206
ErrorDocument 401 /401
ErrorDocument 403 /403
ErrorDocument 408 /408
ErrorDocument 503 /503
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.htm -f
RewriteRule ^(.*)$ $1.htm
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^documentation$ http://parabolah.cf/documentation/docmain$1[R=301,L]
RewriteRule ^documentation/mi1$ http://parabolah.cf/documentation/mi1/main$1 [R=301,L]
RewriteRule ^documentation/char$ http://parabolah.cf/documentation/char/main$1 [R=301,L]
RewriteRule ^nbtt$ http://parabolah.cf/nbtt/nbtt$1 [R=301,L]
ディレクトリには / 書き換えルールもあると理解していますが、 /index/.htm への parabolah.cf/index/ の書き換えに関する限り、私は無知です。また、ページ内に存在しないディレクトリから、404 ページを parabolah.cf/index/hi のように表示するにはどうすればよいでしょうか?
助けてくれてありがとう!