There are many common errors in WordPress that are easy to resolve, but when it’s a “502 bad gateway error” or “503 service unavailable error”, it can get really frustrating to fix.
These errors aren’t easily traceable and this is why we need to troubleshoot to find the cause and fix it. In this tutorial, I’ll show you
“How to Fix http error 503. the service is unavailable”
But before that, I’m going to explain what is “503 service unavailable error” and how it appears on the screen.
What Does 503 Service Unavailable Error Mean?
503 service unavailable error is a server-side error that appears when your server receives your request but is unable to process it or isn’t ready to handle the request. It usually appears on WordPress when your server is under maintenance or due to the overloading of the server. Sometimes, a faulty PHP code in your theme or plugin can cause the 503 error as well.
It can appear differently, depending on the browser, server configurations, web servers, or operating systems. Sometimes you might see the 503 service unavailable error as following:
- 503 Error
- HTTP 503
- HTTP Error 503
- 503 Service Unavailable
- 503 Service Temporarily Unavailable
- Error 503 Service Unavailable
- The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Great. Now you know what is error code 503 and how it can appear on different platforms.
In this tutorial, I am going to address some popular and effective hacks through which you can easily fix the 503 service temporarily unavailable Error.
Let’s take a look at the fixes!
How to Fix the 503 Service Unavailable Error in WordPress
In WordPress, 503 Service Unavailable Error is untraceable so we’ll try different troubleshooting ways to find out what causes this error.
Whenever I face an HTTP error 503 in WordPress, I try these four different troubleshooting methods to resolve this error.
1. Try Reloading the Page
When a WordPress site faces high traffic, the servers get overloaded and display this error. Wait a few minutes then try reloading the page because this error is probably temporary and will automatically resolve in a few minutes.
If this works then you don’t need to read further. But if it doesn’t, then continue reading to resolve the issue.
2. Check your Plugins
A poorly coded PHP script in a plugin is one of the most common culprits that cause 503 error.
So you need to find out which plugin caused this error. For this, you need to access your web server via FTP and deactivate all the WordPress plugins.
Open FileZilla FTP client and fill the respective fields to access your web server. Then go to your plugins directory through applications >(your DB folder) > public_html
This article was written by Farhan Ayub and originally published on WPblog.