.htaccessファイルのエラーについて
-
プラグイン All In One SEO Pack をインストールして
設定後に500 Internal Server Error が発生しました。
サーバーのエラーログを確認すると、
/***/public_html/.htaccess: </IfModule> without matching <IfModule> section
が出ており、サーバーの会社に問い合わせると
「.htaccess」ファイルに何かしらの構文エラーが発生しているとの回答が来ました。.htaccessの内容は下記の通りになっています。
どのように対処すれば良いかご教授頂けませんでしょうか?
御手数ですがよろしくお願いします。# 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
!-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
6件の返信を表示中 - 1 - 6件目 (全6件中)
6件の返信を表示中 - 1 - 6件目 (全6件中)
- トピック「.htaccessファイルのエラーについて」には新たに返信することはできません。