How To Fix ‘503 Service Unavailable’ WordPress Error
/ / How To Fix ‘503 Service Unavailable’ WordPress Error

How To Fix ‘503 Service Unavailable’ WordPress Error

Some of the links in this post are affiliate links. This means if you click on the link and purchase the item, We will receive an affiliate commission at no extra cost to you. All opinions remain our own.

One of the few very irritating errors you’ll
ever encounter when utilizing WordPress is the ‘503 Service Unavailable’ error.

This error might be fairly complicated to most
WordPress users because it may fully render your website offline without
supplying you with any clear reason to what precipitated the error.

There might be a few completely different causes behind the
‘503 Service Unavailable’ error and it may additionally come in completely different error codes
as effectively.

In this publish, we’ll information you thru the principle
causes behind the ‘503 Service Unavailable’ error and we’ll present you learn how to repair
the error all by yourself.

What Is ‘503 Service Unavailable’ Error?

The ‘503 Service Unavailable’ error is usually
attributable to outdated and malfunctioning plugins and themes. The difficulty happens when
your website server has to bother getting a response from a PHP script. Which
normally occurs as a result of outdated or poorly coded scripts in themes and plugins.

However, in some circumstances, it may be
attributable to extreme server useful resource utilization. Or when there’s a glitch on the
servers used to host your website. As effectively as when there are too many requests
being dealt with by the servers at the identical time, which is frequent with low-cost web
hosts who attempt to host too many websites on shared hosting servers.

How To Fix It

Yes, your website’s server could be the trigger
of the ‘503 Service Unavailable’ error. But, earlier than you soar to conclusions and
start blaming your web hosting supplier, it’s best to be sure that it’s not
attributable to a defective plugin or a theme.

There are two methods to troubleshoot this
difficulty: By disabling all plugins and disabling your present theme. But, how are
you going to try this when you possibly can’t even enter your WordPress admin dashboard?

Thankfully, you possibly can nonetheless safely disable your
plugins and themes from the server without having to log in to your WordPress
website or dropping any knowledge. Here’s how.

1. Manually Disable All WordPress

To determine if the error is attributable to a
plugin, we have to disable all of the plugins. You can manually disable all of the
plugins from the server-side by merely renaming the WordPress plugins folder.

Step 1: Login To Your Server

First, we have to log in to your server to seek out
all of the WordPress recordsdata associated with your website.

You can log in to your server utilizing both the web-based CPanel File Manager or use an FTP consumer-like FileZilla. For the demonstration, we’ll use CPanel File Manager because it’s accessible to everybody.

503 Service Unavailable error-cpanel
  1. To open your server CPanel, kind /cpanel on the finish of your area identify (eg:
  2. Enter your CPanel username and password to log in
  3. Find the File Manager app and open the public.html

Note: If you don’t know the login particulars for CPanel, consult with the welcome
the email you’ve obtained out of your web host if you first registered your
account. Or login to your hosting account and enter CPanel from there. If
you’re utilizing a devoted or VPS hosting account, you may need to make use of an FTP
consumer as an alternative.

Step 2: Rename The Plugins Folder

To disable the plugins, all you must do is to vary your default plugins folder.

  1. Open the WP-Content folder
  2. Find the plugins folder and rename it to plugins-bad
  3. Create a new empty folder and identify its plugins

Now, strive to load your website and see if it fixes the problem.

Step 3: Find The Culprit

If your website is working and again to regular,
then the error was attributable to a defective plugin. Let’s discover which plugin
precipitated the problem.

  1. Go again to the WP-Content folder
  2. Delete the empty plugins folder that you just
    simply created
  3. Rename the previous plugins-bad folder to its
    authentic state to simply plugins

This will restore all of the plugins you
beforehand had on your website. But don’t fear, all of these plugins will not
be deactivated.

Now login to your WordPress admin dashboard
and reactivate your plugins, one after the other till you discover which plugin is inflicting
the problem.

2. Change The Default Website

If disabling the plugins didn’t repair the error,
then it’s possibly attributable to a dangerous script on your WordPress theme. Let’s strive
to disable your default theme.

Step 1: Login To Your Server

Simply comply with the identical directions we’ve
supplied in the earlier methodology to login to your server utilizing both an FTP
consumer app or CPanel.

Step 2: Delete The Default Theme

Once you’re on the server, find the Themes folder.

  1. Go to the WP-Contents folder and open the themes folder.
  2. First, make a backup copy of your default theme or higher but, obtain it to your laptop.
  3. Now go forward and delete the folder associated with your default theme

This will drive WordPress to robotically
revert your website again to make use of an authentic WordPress theme corresponding to

Once it’s completed, test to see in case your website
works. If it really works, there’s one thing improper together with your theme. Contact the theme
developer and ask them to repair the problem.

Note: If you don’t see an authentic theme inside your server themes folder,
you possibly can manually add it. Download the TwentyNineteen theme here
and add it to your themes folder.

Still, Getting The Error?

If you’re nonetheless seeing the identical error even
after following these steps, then you must contemplate searching for skilled
assist. Your website would possibly even be at hazard of a DDoS assault.

Sometimes, reinstalling WordPress can repair the
difficulty. But, don’t attempt to do it by yourself as one mistake may fully wipe
out all the info on your website. Hire a skill that will help you with the job.

Or get in contact together with your website hosting
supplier and ask their technical support team to test your website to see
what’s going on. Depending on how nice of a web hosting service you utilize, they need to assist
you to repair the issue inside a jiffy.