サポート » 使い方全般 » 500エラーの解決について

  • kosuke645

    (@kosuke645)


    wordpressの500エラーについて質問です。wordpressをインストールして、独自ドメインを設定をした次の日から、管理画面にエラーが出てログインできなくなりました。

    プラグインを多数インストールしていたので、それらを停止させてみたりもしましたが変わりませんでした。

    エラーログには、
    File does not exist: /home/サイトアドレス

    が、一番最初に出ていて、
    そこから、
    サイトアドレス. htaccess:<files>♯>directive missing closing
    という文が延々と出ています。

    使用しているさくらサーバーのhtaccessは以下のようになっています。

    DirectoryIndex index.html index.htm index.shtml index.php index.cgi AuthUserFile /home/sirusiru/www/.htpasswd
    AuthType Basic
    AuthName “Web access”
    Satisfy all
    Order deny,allow
    <files wp-config.php>
    order allow,deny
    deny from all
    </files># BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
    # DEFLATE by extension
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    # END W3TC Browser Cache

    どなたか今回のエラーの原因、対処方法について教えて頂きたいです。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック投稿者 kosuke645

    (@kosuke645)

    もう一度調べて、

    <files wp-config.php>
    order allow,deny
    deny from all
    </files># BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
    # DEFLATE by extension
    AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
    # END W3TC Browser Cache

    の部分を削除したら入れました。ありがとうございます。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック「500エラーの解決について」には新たに返信することはできません。