Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressで500内部サーバーエラーを修正する方法

あなたのWordPressサイトは完璧に動作していました。ホームページの代わりに500 Internal Server Errorが表示されたのです。警告もなく、明確な説明もなく、ただイライラする行き止まりです。😨

私たちはその気持ちを知っています。サイトがダウンし、その原因がわからず、気持ちが沈む瞬間。WordPressのエラーの中でも最も一般的なもののひとつですが、最も謎めいたものでもあります。何が悪いのかがわからず、ただ何かが壊れているというだけなのです。

良いニュースは?ほとんどの場合、修正可能です。数え切れないほどのカスタマイザーをサポートしてきた私たちは、このエラーに何度も対処してきました。

このガイドでは、サイトを復旧させるための正確な手順を説明します。このガイドに従うだけで、すぐにすべての作業を再開することができます。

Fixing the internal server error in WordPress

この投稿で取り上げるトピックを簡単に紹介しよう:

500内部サーバーエラーとは何ですか?

500 Internal Server Errorは鍵のないドアのようなものです。何かが間違っていることはわかるが、何が起こったのかを説明するメモがない。

このエラーはWordPressだけの問題ではありません。サーバーが対処方法を知らない問題に遭遇したときに、どのサイトにも外観が現れます。

メッセージにある “500 “はHTTPステータスコードである。調べてみると、曖昧な定義が見つかるだろう:

“500 Internal Server Error “レスポンスコードは、サーバーがリクエストを処理できない予期せぬ状況に遭遇したことを示す。

それはあまり役に立ちませんよね?サーバーが “何かが壊れました、でも何かわかりません “と言っているようなものです。

このエラーの見え方は、ホスティングサービスとウェブブラウザによって異なります。以下はApacheサーバーでの表示例です:

Internal server error page on Apache

あなたのサイトがNginxで動作している場合、少し違って見えるかもしれません。また、Google Chromeが適切なエラーページを読み込めない場合、このような表示になります:

Google Chrome HTTP 500 error

初心者にとって、これは圧倒的に感じるかもしれない。何が悪かったのか、どう修正すればいいのか、メッセージはない。

どこが壊れているのかを告げずに整備士に車の修理を頼むようなものだ。彼らは問題を見つけるまで、さまざまなパーツをチェックする必要がある。

私たちの経験から、問題を解決する最善の方法は、ステップ・バイ・ステップで進めていくことです。最も一般的な原因と解決策を説明しますので、サイトを再びご利用ください。

オンデマンドWordPressサポートでいつでも専門家のヘルプを受けられます!

内部サーバーエラーに対処するのはイライラするものです。オンデマンド WordPress サポートは、技術的な問題を迅速かつ効果的に解決するお手伝いをいたします。

  • 専門家によるオンデマンド・サポートの一括払い
  • 迅速な納期
  • 年中無休

今すぐWordPressの緊急サポートをご利用ください!🛠️

WordPressの内部サーバーエラーの原因は?

WordPressの内部サーバーエラーは、ピースが欠けているパズルのようなものです。何かが間違っているのはわかるが、エラーメッセージは問題の場所を正確に教えてくれない。

私たちの経験では、最も一般的な原因は破損した.htaccessファイルです。また、プラグインやテーマがうまく動作していない場合もあります。

また、サイトがPHPのメモリ制限に達し、WordPressがクラッシュすることもあります。破損したコアファイルもこのエラーを引き起こすことがあり、警告なしにロックアウトされます。

WordPressの管理エリアにアクセスしようとしたときだけエラーが外観表示され、他のサイトは正常に動作しているケースもあります。これは、自分の家から閉め出されたのに、裏口からお客さんが入ってくるようなものです。

このエラーが厄介なのは、WordPressが正しく読み込まれる前に発生することが多いからです。つまり、サーバーは何が問題だったのかを説明するのに十分な詳細を収集することができないのだ。

WordPressが舞台裏でどのように動いているのか、さらに詳しく知りたい方は、WordPressが舞台裏でどのように動いているのかについてのガイドをご覧ください。

では、サイトを復旧させるためのトラブルシューティングの手順を説明しよう。

WordPressの500内部サーバーエラーを修正する

トラブルシューティングを始める前に、WordPressによるサイトの完全なバックアップが手元にあることを確認してください。

WordPressの管理エリアにアクセスできるのであれば、WordPressのバックアッププラグインを使ってサイトの完全なバックアップを作成することができます。

Duplicatorの使用をお勧めします。サイトを素早くバックアップできるだけでなく、バックアップをクラウド上に保存することもでき、最も重要なのはバックアップからサイトを復元できることです。

一方、WordPressの管理エリアにアクセスできない場合は、phpMyAdminとFTPクライアントを使用して手動でWordPressのバックアップを作成することができます。

その後、以下の手順でトラブルシューティングを行い、サイトの内部サーバーエラーを修正することができます。

WordPressとブラウザーキャッシュのクリア

ブラウザーやWordPressのキャッシュプラグインは、エラーページのキャッシュコピーを誤って保存することがあります。

これを解決する最も簡単な方法は、まずブラウザーキャッシュをクリアすることだ。

Clear cache

その後、サイトのWordPress管理エリアにアクセスできる場合は、キャッシュプラグインの設定ページにアクセスしてWordPressのキャッシュを空にすることができます。

詳しくはWordPressのキャッシュをクリアする方法のチュートリアルをご覧ください。

.htaccessファイルが壊れていないかチェックする

.htaccessファイルは、WordPressがリダイレクトを設定するために使用するサーバー設定ファイルです。

内部サーバーエラーの最も一般的な原因の1つは、破損した.htaccessファイルです。

これを修正する最も簡単な方法は、WordPress管理エリアの 設定 ” パーマリンクのページにアクセスし、変更を加えずに「変更を保存」ボタンをクリックすることです。

Update permalinks to regenerate .htaccess file

WordPressは.htaccessファイルの更新または新しいファイルの生成を試みます。これで内部サーバーエラーが解決したかどうか、サイトにアクセスして確認することができます。

それでもエラーが表示される場合は、WordPressが.htaccessファイルを生成または書き込むことができたことを確認する必要があります。

ファイルやディレクトリの権限により、WordPressが.htaccessファイルを作成または書き込むことができない場合があります。

.htaccessファイルを手動で置き換えることができます。まず、FTPまたはホスティングアカウントのコントロールパネルにあるファイルマネージャーアプリを使ってサイトにログインする必要があります。

次に、メインの.htaccessファイルを.htaccess_oldのようにリネームする必要があります。これにより、ファイルをバックアップとして保持することができますが、WordPressはそれを認識しません。

.htaccessファイルの名前を変更するには、FTPまたはホスティングアカウントのcPanelダッシュボードのファイルマネージャーアプリを使用してサイトにログインする必要があります。

接続が完了すると、.htaccessファイルはwp-content、wp-admin、wp-includesのようなフォルダーがあるのと同じディレクトリに置かれます。

.htaccessファイルを右クリックし、.htaccess_oldにリネームするだけです。

Rename .htaccess file

次に、新しい.htaccessファイルを作成する必要があります。

サイトのルートフォルダー内で右クリックし、FTPクライアントまたはファイルマネージャーアプリで「新規ファイルを作成」オプションを選択します。

Create new htaccess file

この新規ファイルを.htaccessと名付け、「OK」をクリックして保存します。

現在、この.htaccessファイルは空になっているので、初期設定のWordPressリライトルールを追加する必要がある。

ファイルを右クリックし、FTPクライアントまたはファイルマネージャーアプリで「表示/編集」を選択するだけです。

Edit .htaccess file

空のファイルは、メモ帳やテキストエディットのようなプレーンテキストエディターで開きます。

次のコードをコピー&ペーストしてください:

1
2
3
4
5
6
7
8
9
10
# 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

このコードはWordPressが使用する初期設定のルールセットです。変更を保存し、サーバーにファイルをアップロードすることを忘れないでください。

これで内部サーバーエラーが解決したかどうか、サイトにアクセスして確認することができます。

もしそうなら、内部サーバーエラーを修正したのだから、自分を褒めてあげよう。

重要:他のことに移る前に、WordPress管理エリアの設定 ” パーマリンクのページに行き、変更を加えずに保存ボタンをクリックすることを確認してください。これにより、投稿ページが404エラーを返さないように、適切な書き換えルールで.htaccessファイルが再生成されます。

.htaccessファイルの破損をチェックしても解決しなかった場合は、この投稿を読み続ける必要がある。

PHPメモリ制限の増加

スクリプトがPHPのメモリ制限をすべて消費した場合、サーバー内部エラーが発生することがあります。

PHPのメモリ制限を増やす最も簡単な方法は、wp-config.phpファイルを編集することです。初心者の方は注意してください。WordPressのコアファイルの小さなミスでもサイトを壊してしまう可能性があるので、これらの指示に注意深く従いたい。

開始するには、FTPクライアントまたはホスティングアカウントのコントロールパネルにあるファイルマネージャーアプリを使用してWordPressサイトに接続するだけです。

サイトのメインフォルダー内にwp-config.phpファイルがあります。それを右クリックして「ダウンロード」を選択します。これで、何か問題が発生した場合に備えてファイルのバックアップを確実に取ることができます。

それを保存したら、右クリックして『表示/編集』を選択する。

Edit wp-config file

wp-config.phpファイルの中で、「これですべてです!ハッピー公開する:

1
define( 'WP_MEMORY_LIMIT', '256M' );

詳しくは、WordPressでPHPのメモリ制限を増やす方法のチュートリアルをご覧ください。

注:256Mで問題が解決しない場合は、512Mに増やしてみてください。

WordPressの管理画面にログインしようとしたときや、wp-adminで画像をアップロードしようとしたときにのみ内部サーバーエラーが表示される場合は、以下の手順でメモリ制限を増やす必要があります:

  1. コンピューター上に空白のテキストファイルを作成し、php.iniと命名する。
  2. そこに次のコードを貼り付ける: memory=256MB
  3. ファイルを保存する
  4. FTPで/wp-admin/フォルダーにアップロードします。

メモリ制限を増やすことで問題が解決したのであれば、一時的に問題が解決しただけです。メモリ制限を使い果たした原因を見つける必要があります。

これは、プラグインのコーディング不良か、テーマの機能である可能性があります。正確な診断結果を見つけるために、WordPressのWebホスティングサービス会社にサーバーのログ記録を調べてもらうことを強くお勧めします。

PHPのメモリ制限を増やしても問題が解決しない場合は、さらにトラブルシューティングが必要です。

WordPressのプラグインをすべて無効化する

上記の解決策がどれもうまくいかなかった場合、このエラーはサイトにインストールされている特定のプラグインが原因である可能性が高いです。

プラグイン同士の相性が悪い可能性もある。

サイトのWordPress管理エリアにアクセスできるのであれば、プラグインページに行き、WordPressのプラグインをすべて無効化すればよい。

Deactivate all plugins

しかし、WordPressの管理エリアにアクセスできない場合は、FTPを使用してWordPressのプラグインをすべて無効化することができます。

FTPクライアントまたはホスティングアカウントのコントロールパネルにあるファイルマネージャーアプリを使用して、WordPressサイトに接続するだけです。

接続したら、/wp-content/フォルダに移動し、プラグインフォルダの名前をplugins.deactivatedに変更します。

Plugins deactivated via FTP

WordPressはpluginsフォルダーでプラグインを探します。pluginsフォルダが見つからない場合、すべてのプラグインが自動的に無効化されます。

これで、あなたのサイトの内部サーバーエラーが解決したかどうか、サイトにアクセスしてみてください。

プラグインをすべて復元するには、「plugins.deactivated」フォルダーをpluginsにリネームするだけです。

プラグインは復元されますが、無効化されたままです。

プラグインを個別に有効化し、サイトを訪問して内部サーバーエラーの原因となっているプラグインを特定することができます。

詳しくは、wp-adminを使わずにWordPressのプラグインをすべて無効化する方法をご覧ください。

プラグインをすべて無効化してもサイトの内部サーバーエラーが直らなかった場合は、このまま読み進めてください。

WordPressの初期設定テーマに切り替える

内部サーバーエラーの原因として、WordPressテーマ内のコードが考えられます。

そうであるかどうかを判断するには、WordPressのテーマを初期設定に切り替える必要があります。

WordPressの管理エリアにアクセスできる場合は、外観 ” テーマページにアクセスします。デフォルトテーマがすでにインストールされている場合は、有効化ボタンをクリックするだけでテーマを切り替えることができます。

Activate a default theme

デフォルトテーマがインストールされていない場合は、上部の「新規追加」ボタンをクリックし、デフォルトテーマ(Twenty Twenty-Three、Twenty Twenty-Twoなど)をインストールすることができます。

WordPressの管理エリアにアクセスできない場合でも、デフォルトテーマに切り替えることができる。

FTPクライアントを使用してWordPressサイトに接続し、/wp-content/フォルダに移動するだけです。

右クリックしてテーマフォルダーを選択し、バックアップとしてコンピューターにダウンロードします。

Download theme folder

次に、サイトからテーマフォルダーを削除する必要があります。削除したら、新しいテーマフォルダーを作成してください。

新しいテーマフォルダーは完全に空になります。つまり、現在WordPressテーマがインストールされていないことを意味します。

次に、WordPressテーマディレクトリにアクセスし、初期設定のWordPressテーマをコンピューターにダウンロードする必要がある。

Download a default theme

ブラウザーがテーマをzipファイルとしてコンピューターにダウンロードします。

コンピューター上でファイルを探し、解凍します。Windowsユーザーは、ファイルを右クリックし、「すべて展開」を選択して解凍できます。Macユーザーは、zipファイルをダブルクリックして解凍できます。

Extract theme files

WordPressテーマを含むフォルダーが表示されます。

FTPクライアントまたはファイルマネージャに戻り、このフォルダーを空のテーマフォルダーにアップロードします。

Upload theme folder

アップロードすると、WordPressは自動的に初期設定のテーマを使い始めます。

これで内部サーバーエラーを解決したかどうか、サイトにアクセスして確認することができます。

それでもうまくいかない場合は、WordPressのテーマをバックアップから再アップロードするか、以前使用していたテーマに戻してください。

ご心配なく。エラーを修正するためにできることはまだいくつかあります。

コアファイルの再アップロード

プラグインとテーマのオプションで内部サーバーエラーが修正されなかった場合は、新しいWordPressインストールから/wp-admin/と/wp-includes/フォルダを再アップロードする価値があります。

これはあなたの情報を削除するものではありませんが、ファイルが破損している場合に問題を解決する可能性があります。

まず、WordPress.orgのサイトにアクセスし、「ダウンロード」ボタンをクリックします。

Download media library

WordPressのzipファイルがコンピューターにダウンロードされます。

zipファイルを解凍してください。その中にWordPressフォルダーがあります。

WordPress folder extracted

次に、FTPクライアントを使用してWordPressサイトに接続する必要があります。

接続したら、サイトのルート・フォルダーに移動します。wp-admin、wp-includes、wp-contentフォルダーがあるフォルダーです。

左の列で、コンピューター上のWordPressフォルダーを開きます。

WordPressフォルダー内のすべてのファイルを選択し、サイトにアップロードする必要があります。

Upload core WordPress files

FTPクライアントがこれらのフォルダーをサーバーに転送します。

ファイルを上書きするかどうか尋ねられます。上書きする」を選択し、「常にこのアクションを使用する」を選択し、「現在のキューにのみ適用する」のチェックボックスにチェックを入れます。

Overwrite WordPress core files

FTPクライアントは、古いWordPressファイルを新しい新鮮なコピーに置き換えます。

WordPressファイルが破損している場合は、この手順で内部サーバーエラーを修正できます。

WordPressでデバッグログを有効化する

WordPressには、デバッグ用のログ記録を残すシステムがビルトインされています。

WP Debuggingプラグインを使用することでオンにすることができます。詳しくはWordPressプラグインのインストール方法をご覧ください。

プラグインを有効化すると、WordPressサイトのデバッグログ記録が有効になります。

WordPressサイトの管理エリアにアクセスできない場合は、wp-config.phpファイルに以下のコードを追加することで、デバッグをオンにすることができます:

1
2
define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true);

デバッグログを有効にすると、FTPクライアントを使用して/wp-content/フォルダに移動することで表示できます。

Debug log

デバッグログファイルをテキストエディターで開くと、サイトで発生したエラーや警告のリストが表示されます。

エラーや警告の中には、修正する必要のない無害なものもあります。しかし、もしあなたのサイトで内部サーバーエラーが表示されているのであれば、これらは正しい方向を示してくれるかもしれません。

ホスティングサービスに問い合わせる

すべての方法でサイトの内部サーバーエラーを修正できない場合は、さらに助けを求める必要があります。

Webホスティングサポートチームに連絡すれば、サーバーのログ記録をチェックして、エラーの根本原因を突き止めることができます。

自分でトラブルシューティングを続けたい場合は、初心者のための究極のWordPressトラブルシューティングガイドをご覧ください。

動画チュートリアル

Subscribe to WPBeginner

この投稿が WordPress の内部サーバーエラーの解決に役立てば幸いです。また、WordPress の最も一般的なエラーの完全なリストと、WordPress サポートへの連絡方法のガイドもご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

アバター

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

676件のコメントLeave a Reply

  1. Diogo Susewind

    tks a lot

    Increasing the PHP Memory Limit solved my problem

    god bless you

  2. Centro Studi Pranici

    Thanks you! Problem solved

  3. Nataša Cvetković

    Thank you so much!

    Checking for Corrupt .htaccess File worked for me :)

  4. Stephen

    My DigiWeb Advanced Hosting Package and 500 server error on activation attempt…

    In my case as a beginner and attempting to add a WooWoo theme and then WooWoo eCommerce plugin I had a 500 server error..
    The first time after the Theme was installed was rectified by the staff at hosting support.. They pointed out that a web.config file was created, that they renamed it to web.config_old and I was not to create any more.. Proceeding to add the eCommerce plugin and attempting to activate.. 500 error again.. but this time I looked in the directory and there was another ‘web.config’ file.. I changed the name and bingo, all was Ok.. I was happy for I don’t want to be hanging out of the apron of the tech guys at DigiWeb !

    I do hope this helps even one person…

  5. Ian Robinson

    I really, really appreciate you putting this video up. Thank you.

  6. SAMUEL

    Since i set up my account for both wordpress and Cpanel, i discovered that my domain name on cpanel was not spelt correctly(probably my error) but i have been trying to change it but could not. i need to know the implication of this and how to correct it.my site has been running fine until recently,could it be the cause.

  7. Morse Gates

    I encountered this internal error (500) error when i added this line to my .htaccess
    max_input_vars = 1540; but as soon as I remove it , it works. I need to increase my Max_Input_vars from 1000
    Please help.

    • morse gates

      Just additional info. Godaddy asked me to create and use .user.ini to add this, but phpinfo still shows it at 1000 after the change. Its why I decided to use the .htaccess but that send my site to an internal error 500 status.

    • Elkay

      I hope It is not your disc memory exceeded.

      Or error due to syntax.

  8. Samseen

    Thank you, renaming the .htaccess file works for me.

  9. Ammar

    Haylo!

    I had this issue today and I figured out the problem was with my file/folder permissions.

    I had tried setting all my folders, sub-folder, and file permissions to 777 because I was having major issues uploading images.

    This caused the internal server error for me. Switching everything back to 755 fixed it for me, though I’m assuming that simply applying 755 onto the wp-admin folder would have done the job!

    Hope that helps someone!

    • zach

      Yep, the permission changed worked for me so thanks!

  10. Kumar

    Hi i’m facing different type of problem. When i try to load my website it shows ”The mydomain.com page isn’t working” and “mydomain.com is currently unable to handle this request” also “HTTP ERROR 500” (in small font).
    Even i’m not able to login in wp admin panel too. what to do? Please help.
    I changed the .htaccess file also i thought, may be its happened because of broken config.php file, so i delete it. And when i load my website its start showing the setup configuration setting.
    i setp up again, but when its come to login part, same thing happened.
    Please help!

      • Sherry

        I kept getting a 500 error ‘ [website] is currently unable to handle this request’. After reading through the 500 error advice, I found that a revision I had made to page.php in my theme directory was calling up a print command for a deactivated plugin. I removed the command line and the issue was immediately resolved! Now everything is coming up roses….I mean pages!

  11. piyush saini

    you are really awesome sir thanks for the same

  12. zigii

    thanks! very very helpful resource I resolved my site :)

  13. Matt

    Mine was none of the above. But I saw in my error logs that wordfence-waf.php had a error in the paths. Renaming wordfence-waf.php in the root folder fixed the issue.

    • Elkay

      You just hit the nail on the head.

      When I had the problem with my site, I first went ahead to check the log.

      My hosting support only gave the best they could but I had an opportune moment to solve the problem by myself.

    • Elkay

      I appreciate the management for the good work, more power to your elbow.

      I experienced this error when I was customizing my theme.

      The error log gave a clue.

      My hosting support only gave the best they could but I had an opportune moment to solve the problem by myself.

  14. Keyboard Banger

    Thanks a lot! helped me regain access to my blog.

  15. Hugo Henriquez

    you can solve the problem by updating the wordpress to the latest version by transferring the “core” files, but before disable all plugins renaming the folder “plugins”

  16. H.T.

    We were getting an “Internal Server 500” error when going to the WP Admin page.

    In our case, it was the .htaccess file being corrupt.

    Note, though, that deleting .htaccess did NOT fix the problem — in fact, deleting it caused the index page to then have a PHP error, when it had been working fine before. (And that was due to a WP Super Cache error, it seemed — it wasn’t finding the file it was looking for.)

    We had ¦ in place of #, and ¤ in place of $ in our .htaccess, for some reason. Fixing those fixed the WP Admin login problem.

    Hope it helps someone.

  17. Tim D.

    You rock. How and .htaccess file gets corrupted I’ll never know, but THANK YOU.

  18. Melly P.

    I found an interesting reason for an internal server error after checking my host logs- my wordpress install had group writeable permissions. I had forgotten that I went crazy on my permissions when trying to solve an issue that was being caused by the host. When I changed the CHMOD setting to 755, it was working again. my admin folder is not in the root folder, I wonder if this is why I could still see the website and not be able to access the admin.

  19. Riyaz Alam

    Hi,
    as per your suggestion in this post I tried to Re-uploading Core Files(WP-ADMIN & WP-INCLUDES) to fix the 500 error in my website. But now, I am getting again the 500 error and when I contacted my Hosting provider(Hostgator) they send me this log (We have checked and we found there is issue with “akismet”. Please find the log below.

    [26-May-2016 04:19:04 UTC] PHP Fatal error: Class ‘WP_Widget’ not found in /home/makei3v5/public_html/example.com/wp-content/plugins/akismet/class.akismet-widget.php on line 5) , Now I am helpless, what should I do? I have done the step accurately as per the above guidance.

    Please help me out.
    Thanks, Riyaz

      • Riyaz

        Hi,
        Now my site is fixed, but that was not because of deleting and then re-installing Akismet. I had to update the whole WordPress files to get it fixed. Thanks anyways.

  20. David

    Thanks, it was really usefull!

  21. Nazar

    thank you so much author , this was life saviour , job saviour as well.. thanks again

  22. Priyanka

    Thanks for your guideline…I have deactivated all the plugins, but it still shows the same error.

    Then I deactivate my theme and it works fine. I realized that theme can create this type of error.

  23. WLEXT

    Hello,

    What if this problems appears randomly?
    Sometimes when I open my website main page, some times when I bulk edit posts. It’s just happens randomly as far as I know, could the problem be that the hosting servers are loaded? because I’m using shared web hosting, I would like to know that if you could answer me?

    I don’t want to migrate to another host if the problem is some plug-in in my site.
    Please answer me.

    Thanks.

    • Heather

      I would like to know this as well. I have the same issue. It happens sometimes, sometimes not. It can be from the admin panel or from viewing the site directly. I’m also using a very cheap shared hosting service and am wondering if it’s possible this is coming from “their end”.

  24. Geert Spekken

    This article was a true life saver! Or a mental health saver, at least. Turns out a plugin was messing everything up, and thanks to this article I’ve been able to solve it. So many thanks from a relieved WP-beginner (since 2014…)!

  25. Silvia Huerta

    Hi, but my problem is that I cannot enter even to the dashboard, when I try also says internal sever error, so I cannot do nothing. Doesn’t work nothing. I am in panic.

  26. Tarun

    After reading the above mentioned solutions, I went to wp-content/plugins through ftp and sorted the plugins list as last modified and deleted the most recent modified plugin. Problem solved for me.
    Thanks

  27. Terry

    In case you are not on a linux server and your hosting is done on IIS (Microsoft Platform) instead, you may have corrupted the web.config file which is used instead of an .htaccess file.

    Most servers I use are linux, so I just ran into this problem today on a Microsoft Server. FTP into your site and fix your web.config file.

    T.

    • Jesse

      If you’re hosting WordPress on a IIS (Microsoft Platform) instead of a linux server and have problems updating your WordPress, you need to install this plugin “WP Maximum Execution Time Exceeded’

      However the default execution time of the above plugin is 300 ms which you need to increase to 500 or 600 ms to make it work.

    • Aaron

      Thanks Terry. This was exactly my problem.

  28. Dennis

    The issues started right after adding this to my function.php file in my child theme:

    /*** Remove Query String from Static Resources ***/
    function remove_cssjs_ver( $src ) {
    if( strpos( $src, ‘?ver=’ ) )
    $src = remove_query_arg( ‘ver’, $src );
    return $src;
    }
    add_filter( ‘style_loader_src’, ‘remove_cssjs_ver’, 10, 2 );
    add_filter( ‘script_loader_src’, ‘remove_cssjs_ver’, 10, 2 );

  29. Haytham

    Thanks, really helpfu :)

  30. ashish kumbhar

    Thanks, really helpful..

  31. Yasser Ismail

    Thank you very much, you saved me from re installing my site

    changing the PLUGINS was the solution and i re installed the faulty plugin

    wish you all the best

    Yasser

  32. Chris L

    I was getting the 500 Internal Server error when trying to access the ‘Customize’ Menu (button located at the top when viewing your site). It turned out to be a plugin…

    The .htacces and php.ini methods didn’t work, in my case, uploading the php.ini file made me unable to access wp-admin until php.ini was deleted.

    I apologize I can’t give the name of the faulty plugin, I was in a hurry at the time and needed it to work asap…It was a plugin that added widgets to the SiteOrigin PageBuilder plugin.

  33. Mateo Castano

    Hello guys,

    I could access to my wordpress admin panel again deactivating all my plugins from database,

    Then I was receiving a problem with an specific pluging, I recommend you to check what pluging is causing issues, in my case was woocommerce and my theme, both installed I was getting an error message about Memory Exceeded, I didn’t find a solution for this error, now I had to separate my page in two wordpress installation, one with all information, and the other with the virtual store,

    If anyone find raise of Fatal error: memory exceeded, please let a comment, Thaks for your support guys.

    Bye

  34. Peter Posse

    Hallo,
    many thanks for that tutorial and all the comments here.
    As my hosting is also with Strato I tried the recommandation from Karo A – and it works.
    After disabling the cache of PHP Boost at Strato no more Internal Server Error 500 occured.
    Might be this cache is running out of memory as I use also Slimstat statistics.
    Karo

  35. Karo A

    Hi,
    on Strato Websites with PHP 7.0 Power Boost on,wordpress with eg. Jetpack I ve got the 500 server error message.
    After checking the Server error log at Strato I found an error message in the log that the PHP handler (CGI) aborted.

    After changing the PHP handler (CGI) in the Strato Interface to PHP 7 WITHOUT Power Boost everything works fine!
    Best regards
    Karo

  36. Reinardt

    Thanks for this, nothing worked but it at least gave me ideas to troubleshoot with. I renamed the theme in the same way to rename the plugins folder eg. themename_deactivate and it worked, I could login to my site again. Still troubleshooting why the theme is acting up all of a sudden.

  37. Gustavo Alves

    Hello, unfortunately my problem continues even after following all his steps.
    Would have any idea what could be?

  38. Markus

    Thank you sooo much!!!!!

  39. Roman

    Everything tried but my problem not solved.
    I only get NetworkError: 500 Internal Server Error – when I try to login to my site. The browser goes to blank page and I get that error in console.

    Please help

    • Roman

      Please delete my site name??

    • vm

      Error :NetworkError: 500 Internal Server Error

      hi
      please cheak you are file( php.ini ) file permission and ownership .

  40. Babatunde

    Useful information you’ve got here. Thank you! My site is back up! Kudos!

  41. Prajjwal

    Thank you……… very much I’ve regenerate .htaccess file and now my site is working properly thanks again for your helpful solution.

  42. James

    Re-uploading Core Files worked for me. Thanks

  43. Raine

    Very helpful guide! I had to re-upload core files to get my pages to work.

  44. Andrew Cook

    Cheers man! Was completely stuck. Very clear and concise instructions. (y) Karma love

  45. yandi novriandi

    my problem not solved on

  46. Mohammed Faisal

    Many thanks, I got my site running again

  47. shehzad

    Great Article. You saved my work. Thanks for this :)

  48. ITfee

    Great guide! Thank you guys. I just needed to resave my .htaccess file – unbelieveable but true.

  49. Jesper Lindebjerg

    By update using InfiniteWP my site broke down. I tried all above without luck… But in my chase it was a Theme missing. I had to re upload the Mother Theme to get my site back;)

  50. Amanda

    Oh…THANK YOU…THANK YOU SO MUCH!!! That was such a quick fix I’m getting teary-eyed.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.