How to restore a WordPress site that will not load
White screen, “There has been a critical error”, or a database that will not connect: how to find the cause, fix it without a full restore, and restore from a backup by hand when wp-admin is gone.

The site shows a white page, or WordPress's “There has been a critical error on this website”, and wp-admin will not open either. It looks like a disaster, but most of the time one plugin, one theme or one file is to blame, and the rest of the site is fine. Start with the smallest fix and only restore everything if you have to.
1. Find out what broke
- Check your email. When a plugin or theme causes a fatal error, WordPress emails the site admin a “recovery mode” link that opens wp-admin with the faulty extension paused. The email names it.
- Read the error log in your hosting panel, or turn on
WP_DEBUG_LOGinwp-config.phpand reload the page. The fatal error names the file, and the path tells you which plugin or theme it belongs to. - Think about what changed. An update a few minutes ago is the usual suspect.
2. Fix just that
If a plugin is the cause, rename its folder in wp-content/plugins with FTP or the host's file manager, for example from woocommerce to woocommerce-off. WordPress deactivates it and the site usually comes back. For a theme, rename its folder and WordPress falls back to a default theme if one is installed. Then put back an earlier version of that one plugin or theme, rather than the whole site.
This is exactly what Restora Pro's repair does from its emergency recovery page: it finds which plugin, must-use plugin, theme or WordPress file takes the site down, and restores only that from your backup.
3. Restore from a backup by hand
If the damage is wider, restore the backup. When wp-admin is unreachable you can still do it, as long as the backup is a normal archive. A Restora backup is a standard zip, so the steps are:
- Download the backup from
wp-content/restora-<random>/on the server with FTP or the file manager. - Unpack it on your computer. Everything except the
.restora/folder is the site's files, in the same layout as on the server. The.restora/folder holds the database as plain SQL files. - Upload the files over the site, replacing what is there. Do not upload
wp-config.phpfrom the backup unless the server's own is missing: the live one has the current database details. - Import the database in phpMyAdmin: choose the site's database and import the
database-*.sqlfiles in order. They replace the old tables. - If the site address changed, set
siteurlandhomein the options table. Then open the site and log in again.
Before you start, download a copy of the site as it is now, broken or not. If the restore goes wrong, you can always get back to where you were.
4. When the whole server is gone
A backup that lives only on the server that failed is no backup. Keep copies somewhere else: Restora Pro sends a copy of every backup to S3-compatible storage or SFTP, and a full backup includes an installer that sets the site up on a new server with its new address and database.
Prevent the next one
- Take a backup just before updates. Restora can do it automatically, one backup for a whole batch of updates.
- Keep at least one recent copy away from the server.
- Test a restore on a staging copy now and then, while nothing is on fire.