Get started
Website care

WordPress Website Down? How to Diagnose and Restore Your Website

Your WordPress site is down or showing an error. Work through the causes in order, from hosting and domain checks to plugin conflicts and database errors, and learn when to stop and call for help.

WebXSentry guide: what to do when your WordPress website is down

You open your website and it is gone, or you see a white screen, or an error message you have never seen before. Whatever the message says, the order of checks is the same. This guide takes you from the quickest checks to the more technical ones, so you can find the cause and bring the site back, and know when to stop and ask for help.

If you think the cause might be a hack, read how to tell if your WordPress site has been hacked first, and go to what to do in the first hour.

Step 1: Check whether it is down for everyone

Open the site on your phone using mobile data, and ask a colleague or use a free uptime checker. If it works elsewhere, the problem may be your browser cache, your network or your location, not the site. If it is down for everyone, carry on.

Step 2: Check the basics that are not WordPress

  • Domain. Has the domain name expired? An expired domain stops the site completely and is easy to miss.
  • Hosting. Is the account paid up, and has your host sent a suspension or resource limit notice? Check the email linked to the account, including spam.
  • Disk space. A full hosting account stops WordPress from writing files and can break the site.
  • SSL certificate. An expired certificate shows a security warning that stops most visitors. Renewing it fixes this.
  • Host status page. A wider outage at your host is out of your hands, and the status page will say so.

Step 3: Read the exact error

The message tells you where to look. These are the most common ones:

  • "There has been a critical error on this website." A PHP error, usually from a plugin, a theme or a PHP version mismatch. WordPress often emails the site administrator a link to recovery mode.
  • A blank white screen. Often the same cause, with error display turned off.
  • "Error establishing a database connection." WordPress cannot reach the database. The credentials in wp-config.php may be wrong, or the database server may be down.
  • "500 Internal Server Error". A server-side fault. A damaged .htaccess file, a plugin conflict or a PHP memory limit are the usual causes.
  • "Briefly unavailable for scheduled maintenance". A WordPress update was interrupted and left a .maintenance file in the site root. Deleting that file brings the site back.
  • "503 Service Unavailable". The server is overloaded or being restarted, or a resource limit was reached.

Step 4: Switch on error logging

If the cause is not clear, turn on WordPress debug logging by adding these lines to wp-config.php:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

WordPress then writes errors to wp-content/debug.log, and the file path in the error usually names the plugin or theme at fault. Turn debugging off again when you are done. Your host's error log is another good place to look.

Step 5: Find the plugin or theme at fault

Most WordPress outages trace back to a plugin or theme, often right after an update. If you cannot reach the dashboard:

  1. Connect by SFTP or your host's file manager.
  2. Rename the wp-content/plugins folder to plugins-off. This disables every plugin at once.
  3. Reload the site. If it comes back, the cause is a plugin.
  4. Rename the folder back, then rename plugin folders one at a time to find the one at fault.

If plugins are not the cause, rename the folder of your active theme in wp-content/themes. WordPress falls back to a default theme if one is installed.

Step 6: Check PHP and memory

A site can fail after the host upgrades PHP, or after an update needs a newer version than you run. Check the PHP version in your hosting panel and compare it with what your plugins and theme support. If the error mentions memory, your host may let you raise the PHP memory limit.

Step 7: Restore from a clean backup if you need to

If you cannot fix the problem directly, restore a backup taken before the outage. Before you do, copy the current files and database, so you do not lose anything added since. Restore the most recent backup you know was good, and then repeat the update that caused the problem on a staging copy. Our guide to a staging site explains how to test an update safely.

If you are not sure your backups work, read how to tell if your website backups actually work before you need them.

Step 8: Rule out a hack

If the site went down with no update and no host change, or you see unfamiliar users, strange pages or redirects, treat it as a possible hack. Restoring a backup without finding the cause leaves the way in open. Our complete recovery guide covers what to do.

When to stop and get help

Ask for help if you cannot reach the files, if the error does not match any of these, if the site takes orders, or if every hour of downtime is costing you money. Our Emergency Recovery covers sites that are hacked, down or flagged. It is a one-time $299 service with no plan or contract. We look at what happened, fix it, harden the site and send a written report. We do not promise a fixed completion time, because it depends on the cause, and we tell you what we found.

How to stop it happening again

Most outages are preventable. Keep WordPress, plugins and themes updated on a schedule, test updates on a staging copy first, keep backups off the server and restore-test them, and use uptime monitoring so you hear about an outage before your customers do. That is the routine in our WordPress update routine, and it is what our WordPress maintenance plans do every month.

Keep reading

Add-ons

Add-ons you may find useful

Fixed-price add-ons, bought separately from a plan.

Security

WordPress Security Optimisation Service

One-time deep security hardening for your WordPress or WooCommerce website

$99 per site, one-time

Security

Website Firewall Hardening Service (WAF Setup)

One-time WAF setup on Cloudflare Pro that blocks attacks before they reach your website

$249 per site, one-time

Speed and search

WordPress Speed Optimisation Service

Faster pages on mobile and desktop: caching, image, database and render-blocking fixes, with a before and after PageSpee...

$149 per site, one-time

See all add-ons

Straight answers

Questions this article answers

Clear, direct answers to the questions we hear most.

Why is my WordPress site suddenly down?

The most common causes are a plugin or theme update that conflicts with something else, a hosting account that is full, overdue or suspended, a database problem, an expired domain or certificate, and a hack. The exact error message on the screen usually points to which one.

Will I lose my content if I restore a backup?

You lose anything added after the backup was taken, such as new posts, orders or form entries. That is why a recent backup matters, and why you should take a copy of the current files and database before restoring, if you can still reach them.

How do I know if the outage is a hack?

Warning signs are unfamiliar admin users, strange pages or redirects, a host notice about malware, or files changed that you did not touch. If you suspect a hack, do not simply restore a backup. Find out how the attacker got in first, or the site will be hacked again.

Website care for businesses in every country

This guide applies wherever your business is. Pick your country to see how we work with your time zone.

All countries and time zones

Want someone to look after your website?

Pick a plan and a real person takes over the updates, security and backups, with hours for the changes you ask for. Month to month, and a 30-day money-back guarantee.

  • From $99/mo with hours included
  • Month to month
  • 30-day money-back guarantee
From $99/mo · hours included See plans