.htaceessファイルの記載がおかしい場合 .htaceessファイルはWordPressページの転送や閲覧規制などを行えるファイルです。レンタルサーバーの404ページなどドン!と表示された場合。 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress この記載がなければ、404を表示します。
![WordPressでトップページが404ページになった時の対処](https://cdn-ak-scissors.b.st-hatena.com/image/square/061a593315e4dca6fc084d1d75b33a7bfff5a736/height=288;version=1;width=512/https%3A%2F%2Fi2.wp.com%2Fbibabosi-rizumu.com%2Fwp-content%2Fuploads%2F2017%2F08%2Fwordpress-top-page-404.png%3Ffit%3D680%252C506%26ssl%3D1)