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

WordPressの503 Service Unavailableエラーを修正する方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

WordPressサイトで503 service unavailableエラーが表示されていませんか?

503エラーの問題点は、何が原因なのか何の手がかりも与えてくれないことで、初心者にとっては非常にイライラさせられる。

この投稿では、WordPressの503 service unavailableエラーを修正する方法を紹介します。

How to fix 503 service unavailable error in WordPress

503 Service Unavailableエラーとは何ですか?

503 service unavailableエラーは、サイトサーバーが過負荷やメンテナンスのためにリクエストを処理できないことを示しています。

503エラーは、サーバーがPHPスクリプトから適切なレスポンスを得られない場合に発生します。このPHPスクリプトは、WordPressプラグイン、テーマ、または動作不良のカスタムコードスニペットである可能性があります。

すべてのWordPressホスティングサービス会社は、各ホスティングアカウントのリソースの固定量を提供しています。共有ホスティングサービスのサイトでは、この制限ではサーバーリソースの大量使用に対応できません。

エラーの原因が使用量の多さ、サーバーの不具合、またはDDoS攻撃によるものであれば、数分で自動的に消える可能性があります。しかし、サイトの悪いコードが原因の場合は、原因となっているコードを見つけて無効化しない限り、エラーは発生し続けます。

ということで、WordPressの503 Service unavailableエラーを簡単に修正する方法を見てみましょう。

WordPressの503 Service Unavailableエラーを修正する

前述したように、このエラーはWebサーバーがバックグラウンドで実行されているPHPスクリプトから適切なレスポンスを得られない場合に発生します。

このエラーを解決するには、エラーが解決するまで、不要なPHPスクリプトをすべて無効化します。

始めよう。

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

WordPressプラグインはすべてPHPスクリプトなので、まず最初にWordPressプラグインをすべて無効化する必要がある。

503エラーによりWordPressダッシュボードにログインできないため、FTPクライアントまたはcPanelのファイルマネージャを使用してサイトに接続する必要があります。

FTPクライアントを使用している場合は、サイトに接続するだけです。詳しくは、FTPを使ってWordPressにファイルをアップロードする方法をご覧ください。

コンテンツに接続したら、/wp-content/フォルダーに移動します。そして「plugins」フォルダーを右クリックし、「plugins-old」にリネームする。

Rename plugin folder

次に、新しいフォルダーを作成し、pluginsという名前にします。

これでエラーが解決したかどうか、 WordPressサイトにアクセスして確認する必要があります。

もしそうなら、サイトにインストールされているプラグインがエラーの原因になっていることになります。上記の手順で、WordPressのプラグインをすべて無効化しました。

問題の原因となっているプラグインを特定するには、/wp-content/フォルダーに移動します。ここから、空のプラグイン・フォルダーを右クリックし、「削除」オプションを選択する。

Delete empty plugins folder

その後、plugins-oldフォルダーをpluginsにリネームする必要がある。これで、以前にインストールしたプラグインがすべてWordPressで利用できるようになる。ただし、これらのプラグインは無効化されたままになります。

WordPressの管理エリアにアクセスし、プラグインページに移動する必要があります。プラグインを1つずつ有効化し、各プラグインを有効化した後、サイトのさまざまなページにアクセスすることができます。503エラーの原因となっているプラグインを見つけるまで、それを続けてください。

このステップで問題を解決した場合は、このページの残りの指示に従う必要はありません。そうでなければ、次のステップに進んでください。

詳しくは、wp-adminにアクセスできないときにすべてのプラグインを無効化する方法をご覧ください。

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

プラグインを無効化しても問題を解決しない場合、次のステップはWordPressの初期設定テーマに切り替えることだ。これにより、現在のWordPressテーマが無効化されます。

まず、FTPクライアントまたはcPanelのファイルマネージャーを使ってWordPressサイトに接続する必要があります。接続したら、/wp-content/themes/フォルダーに移動します。

Go to the themes folder

次に、現在有効化したWordPressテーマを探し、バックアップとしてコンピューターにダウンロードします。

そのためには、あなたのサイトテーマの名前のフォルダーを右クリックし、「ダウンロード」オプションをクリックするだけです。

Download active theme

テーマファイルをダウンロードしたら、サーバーから削除してください。

すでにTwenty Twenty-Fourのようなデフォルトテーマがインストールされている場合は、自動的に有効化されます。そうでない場合は、先に進み、あなたのサイトにデフォルトテーマをインストールしてください。

503 service unavailable エラーが解決しているかどうか、サイトを徹底的にチェックしてください。

3.新しいコピーでWordPressを再インストールする。

プラグインを無効化し、ウェブサイトのテーマを変更してもWordPressサイトで503エラーに直面する場合は、WordPressを再インストールする必要があるかもしれません。

この方法は通常、WordPressのコアファイルの1つが破損または変更された場合に必要です。その結果、サイトの機能に支障をきたし、503 Service unavailable エラーが発生する可能性があります。

WordPressを再インストールする前に、サイトのバックアップを作成した方がよいでしょう。こうすることで、何か問題が発生した場合に、以前の状態に戻したり、データを復元したりすることができます。

詳しくは、WordPressのアンインストールと再インストール方法のステップバイステップガイドをご覧ください。

4.サーバーリソースのアップグレード状況

また、サイトサーバーのリソースがすべてのリクエストを処理できていない可能性もあります。その場合、ウェブサイトのホスティングプランをアップグレードし、503エラーを解決するかどうかを確認する価値があります。

しかし、アップグレードプロセスを進める前に、ホスティングサービスに連絡し、503エラーの原因を突き止めるのが最善でしょう。

サーバーリソースの不足が原因なら、最速のホスティングサービスプロバイダーを選ぶか、既存のホスティング会社の高価格パッケージに移行すればよい。

より多くのストレージと速度を持つサーバーを選択することを忘れないでください。高トラフィックの負荷を滞りなく処理できる必要があります。

共有WordPressホスティングサービスを使用している場合は、マネージドホスティングソリューションへの移行を検討してください。それに加えて、サーバーのパフォーマンスを高めるのに役立つビルトイン・キャッシングを探すべきです。

その他のWordPressエラーを修正するための追加リソース

サイト運営中に遭遇する可能性のあるその他のWordPressエラーについては、こちらをご覧ください:

この投稿がWordPressの503 service unavailable エラーの修正方法のお役に立てば幸いです。また、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.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

Avatar

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.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

63件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. mohadese esmaeeli says

    Hello, thank you for this excellent article. I have realized that malicious plugins in WordPress and the use of improperly coded plugins consistently contribute the most to the occurrence of the 503 error on hosting. Not installing plugins from the WordPress repository can result in a worse impact, as some individuals download plugins from unreliable sources, leading to the installation of problematic WordPress plugins due to the presence of malicious or outdated code, resulting in the 503 error.

    • WPBeginner Support says

      If you are installing plugins from non-trustworthy sources then you certainly can run into this error from those plugins.

      管理者

  3. karma tsheten says

    @Wpbeginner Mine worked Now,

    Solution: I checked for PHP version from Cpanel, PHP Version was 7.3 so i update PHP Version to 8.2 and now my site is all good.

    Thank you Team

  4. karma tsheten says

    I tried both renaming Plugins folder and and renaming theme folder still same not working for me.

    • WPBeginner Support says

      In that situation you would want to reach out to your hosting provider to ensure there are no errors on the hosting’s end.

      管理者

  5. Bency says

    Hi,

    I got the 503 error when I visit the website, but if I reload the page, the error has gone. How can I fix the error?

    • WPBeginner Support says

      In that case, you would want to check with your hosting provider and let them know about the issue to see if they can look into the error from their end.

      管理者

  6. Josh says

    Holy cow it actually worked. I don’t get it but I can see my sight and admin page. I’m not even tech savvy but I’m glad to see some good results. Thanks a ton!!

  7. Chandan Chaudhari says

    I reinstalled a fresh WordPress but 503 error is till there. I don’t know what to do Please, help me.

    • karma tsheten says

      Check for your PHP version from Cpanel-PHP setting and Change PHP version to latest (8.2) Mine worked after changing PHP Version

  8. Andy says

    Thank you for the article. Over the past 3 months, the 503 error has been on my site 5 times. Now I think that I need to change hosting in order to avoid problems in the future.

  9. lainie says

    i followed your steps of renaming plug in folder as old plugins and then renaming it back to just plugins and none of my plugins show up in the dashboard and i tried reinstalling one and received an error that wordpress could not create directory please help

  10. Diane says

    Hi my issue is i don’t have access to the cpanel but can access the dashboard for my wordpress how do i solve this 503 error from here

    • WPBeginner Support says

      If you don’t have access to your cPanel, reach out to your hosting provider and they should be able to assist.

      管理者

  11. Magnus says

    I had this problem, well still having under specific circumstances. I tried everything: updated php, disabled some plugins, increased memory. And after all that I noticed that when I close admin panel for one of my websites, I have two websites on the same hosting, error stops. When I login into two admin panels simultaneously the problem appears. Any advice on how to solve this?

    • WPBeginner Support says

      You would want to reach out to the support for your specific hosting to see if you are hitting a resource limit or something similar as the most likely cause.

      管理者

  12. Katy Durnford says

    I have error 503 on my news feed at my site. How can I mend it please. I had to delete some plugins. It cleared 503 error on my fiction page, but I still have it showing on news feed. I have contacted my hosts, who gave me more memory, but then it show error 503. On deleting plugins made no change.

    • WPBeginner Support says

      If the recommendations in our article did not work, we would recommend reaching out to your hosting provider for them to ensure there are no errors on the hosting end.

      管理者

  13. Paul Jolley says

    Have to add my thanks to the 36 others to date for this support post.

    My site was getting slower and slower after a recent plug-in update both loading and when accessing pages / posts within my Admin area.

    Thinking it was my PC or Internet connection I logged out. Then things really got worrying for this beginner as I couldn’t log back in. Having installed a 2 factor authentication plug-in by the time the log in page loaded the verification access code had expired and I was locked out.

    Following the steps above, (just to disabling all Plug-ins stage, thankfully), cured both access, page load speeds and no, (currently after 3 hours testing), 503 service unavailable errors.

    BIG THANK YOU to all at WP Beginner.

    Like others below you are my first “go to” resource for all things WordPress.

  14. Ravi says

    Thanks mate.. it worked.. what i did is just made a new folder named as Plugins and copied plugins one by one to it it worked for me..

  15. Stefan says

    The actual reason I received this error, is not listed here. To everybody reading this: Before you go through all the steps above, check the following first!

    After I updated my plugins I started receiving this error. Apparently, some of the newer plugins don’t work as well with older versions of PHP! I logged-in to cpanel and changed the PHP version of my site to 7.0.

    In my case, 7.0 solved the error for me, but earlier as well as some later versions DID NOT.

  16. Babatunde Peter oluwatimileyin says

    Wow! Great! I followed this article and find out that it was caused by one of my plugins.. But it one of the most important plugins I got.. If I install and activate it back. Would this error happen again?

    • WPBeginner Support says

      You can reinstall it to see if the error continues and if so you would want to reach out to the plugin’s support for them to know about the error.

      管理者

  17. Aziz says

    Thanks a million! You saved my life. I deactivated my plugins via cpanel as you mentioned and it worked. Jetpack plugins turned out to be the cause of that trouble since the last update.

  18. Sven says

    In my case the issue was caused by me using my registered emailaddress instead instead of user name at the login prompt. Dunno why, because it used to work in the past. But anyway, using the user name at the login prompt solved it for me.

  19. Saddam Kassim says

    I read many solutions for fixing 503 error like your one and few other blogs and I tried to rename plugins with an underscore at the end but still not getting the issue resolved. In case if none of the solutions works then what is the last option to follow?

    • WPBeginner Support says

      You would want to use the steps in the troubleshooting section of contacting your hosting provider for what they can see on their end as well as possibly reuploading the WordPress files.

      管理者

  20. mojtaba says

    I uninstall theme after that i install the latest version of my theme and website got alive again.

    Thanks.

  21. Sudeesh says

    When I tried to contact Go Daddy, they were asking me to customize the content but on average my page memory is of 50KB, and all the plugins were removed from wordpress. Im using Avada Theme do I need to switch back to the basic theme?

    • WPBeginner Support says

      You would want to try disabling the theme to see if it could be a conflict with the theme and your site in which case you could reach out to the theme’s support for their assistance.

      管理者

  22. Stefan Pabst says

    In my case, there was an active spam filter that blocked various POST requests. Just had to turn off the filter to remove the 503 error.

  23. Matt says

    Hi Guys,
    Before you go for clean install go and disable SSL setup on your hosting/plugins.
    Solves many 503 admin-ajax process errors!
    Worked for my “add media” issues

  24. Mariska says

    Deactivate Plugins did not work, delete theme did not work.
    Still working on this, but in the meantime. After (downloading and) deleting the theme, my site did not go to the default theme and is now blanc. How can I re-install the old theme so that even if I cannot login to the admin page, my site will still be visible?

  25. Armando says

    Hi,
    I had 503 error and just logged in the WP admin panel it solved the problem. This happened with to different sites at different time.

    Do you know something about it? I can’t find anything about this.

    Thanks

  26. Alex Seidanis says

    This should be titled “How to locate the root cause of a 503 error in WordPress”, as it only provides hints to pinpoint what causes the error, but no rectification advise. My root cause was woocommerce; now what?

    • Jennifer W says

      Contact your webhost! I just did that and they fixed the problem. I was having an issue with Woocommerce too and they just changed a version in cPanel. Good luck!

      • Mark says

        What did they change? PHP version? I’m having some similar issues and I’m thinking it’s coming from woocommerece too…

        • WPBeginner Support says

          It was likely a php version change, if you reach out to your hosting provider they should be able to assist.

  27. Musthafa PA says

    Hello,
    I can upload and install a theme using ftp or c panel. But how can i activate the theme if i am facing error 503. I can not access the dashboard as you know.

  28. Ene Sorin says

    Issue seems to be that hosting providers after migration keep PHP version of 5.3 for compatibility.
    Change to higher and should work.

  29. Kiley Hernandez says

    I noticed this issue on a couple of sites. Even after replacing all the WP core files. I noticed that the official WP zip is missing critical files. I just downloaded the alternate .tar file just under the big blue download button and it worked.

  30. Krzysiek Dróżdż says

    So basically your advice is to potentially destroy all the site, since you have no idea what dependencies there were and what will get destroyed after these operations… That’s a really great advice, I guess… :(

    • WPBeginner Support says

      Hey Krzysiek,

      Renaming or deactivating WordPress plugins does not destroy a website or delete any data. Once a user finds the culprit, they can activate all their plugins and find a replacement for the one causing the issue.

      However, if the issue persists, then a fresh install is necessary. Again, reinstalling WordPress files doesn’t affect the data stored in the database or images stored in the uploads folder.

      管理者

  31. Jeremy grates says

    I have also seen cases where it could be a maintenance plugin as well while you are working k n a website. This also will also result in a 503 error

  32. Rushikesh Thawale says

    Hello,
    Thank you for this Wonderful website. Whenever I get any problem on WordPress, I come to your site for finding the solution.
    Thank you for awesome service.

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。