0
私は次のような構造オープンウェブサイトのページやワードプレスのブログ
public_html
files and folders like index.php and terms.php - this is what loads mywebsite.com
blog folder
wp-admin
wp-content
wp-includes
index.php
Iオープンしましmywebsite.comでウェブサイトを持っている、それがロードされます。 mywebsite.com/termsを開くと、ロードされます。 mywebsite.com/blogを開くと、読み込まれます。しかし、mywebsite.com/blog/my-first-postは読み込まれません。私は.htaccessファイルでこれを設定するワードプレスによると
:
<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>
は今mywebsite.com/blog/my-first-postは負荷を行いますが、mywebsite.com/後に何かはしていません。 mywebsite.com/termsもmywebsite.com/dashboard/myaccountもそうではありません。何らかの理由でこれらのページがブログに表示されているようですが、明らかにこれが404エラーを表示する理由です。
ありがとうございました! – erdomester
@erdomesterよろしくお願いします。 –