Skip to content
Errors
7 min readBy Kshitiz Saxena

How to Fix the WordPress White Screen of Death

A blank white screen on your WordPress site usually means a PHP error or memory problem. Here’s how to diagnose and fix it fast.

You open your website and get nothing — just a blank white page. No error message, no login screen, no clue. This is the WordPress White Screen of Death (WSoD), and it's one of the most alarming things a site owner can encounter. The good news: it almost always has a fixable cause. Work through the steps below in order and you'll have your site back.

What Causes the WordPress White Screen of Death?

The WSoD happens when PHP (the programming language WordPress runs on) hits a fatal error and stops executing before any page content is sent to the browser. WordPress then displays nothing. The most common triggers are:

  • A plugin or theme with a coding error or incompatibility
  • Running out of PHP memory limit (the maximum RAM WordPress is allowed to use)
  • A corrupted WordPress core file
  • A syntax error introduced by a manual code edit in a theme or plugin file

Step 1: Check Whether the Problem Is Site-Wide

First, figure out how far the white screen spreads. Try visiting your homepage, a single post, and your admin login page (`yourdomain.com/wp-admin`). If only one page is blank, the issue is likely specific to that page's content or template. If everything is white — including wp-admin, you have a site-wide PHP error, and the steps below apply in full.

Step 2: Enable WordPress Debug Mode to See the Real Error

WordPress hides PHP errors from visitors by default. Turning on debug mode reveals the actual error message so you know exactly what to fix. This requires editing your `wp-config.php` file, which lives in the root folder of your WordPress installation.

  1. Connect to your site via FTP or your hosting control panel's file manager.
  2. Download a copy of `wp-config.php` as a backup.
  3. Open the live file and find the line that reads `define( 'WP_DEBUG', false );`.
  4. Replace it with these two lines: `define( 'WP_DEBUG', true );` and `define( 'WP_DEBUG_LOG', true );`
  5. Save the file and reload your site. The error message will now appear on screen (or be written to `/wp-content/debug.log`).
  6. Once you have fixed the problem, set `WP_DEBUG` back to `false` so errors are not shown to visitors.

Step 3: Deactivate All Plugins

A faulty plugin is the single most common cause of the wordpress white screen. If you can access wp-admin, go to Plugins > Installed Plugins, select all plugins, and choose Deactivate from the bulk-actions menu. Reload your site. If it comes back, reactivate plugins one at a time until the white screen returns, that last plugin is the culprit.

If wp-admin is also white, you can deactivate plugins via FTP. Navigate to `wp-content/plugins/` and rename the entire `plugins` folder to `plugins_disabled`. WordPress will deactivate everything automatically. If your site loads, rename the folder back to `plugins`, then test each plugin folder by renaming it individually.

Step 4: Switch to a Default Theme

If deactivating plugins did not fix the wp white screen of death, your active theme is the next suspect. Via FTP, go to `wp-content/themes/` and rename your current theme's folder (for example, rename `my-theme` to `my-theme-disabled`). WordPress will automatically fall back to a default theme like Twenty Twenty-Four. If your site loads, the problem is in your theme, contact the theme developer or replace it.

Step 5: Increase the PHP Memory Limit

If your site is still white, a low PHP memory limit may be starving WordPress of the resources it needs. You can raise this limit by adding one line to your `wp-config.php` file, just above the line that reads `/ That's all, stop editing! /`:

`define( 'WP_MEMORY_LIMIT', '256M' );`

Save the file and reload your site. If the white screen clears, a memory shortage was the cause. Your hosting plan may need an upgrade if this keeps happening, Managed WordPress Hosting plans typically include higher memory limits configured for you.

Step 6: Re-Upload WordPress Core Files

A corrupted WordPress core file can also cause a wordpress website white screen. Download a fresh copy of WordPress from wordpress.org, unzip it, and upload everything except the `wp-content` folder and `wp-config.php` to your server, overwriting the existing files. This replaces core files without touching your content, plugins, or theme.

Fix Skill Level Risk Level Time to Try
Enable debug mode Intermediate Low 5 minutes
Deactivate all plugins Beginner Very low 2 minutes
Switch to default theme Beginner Very low 2 minutes
Increase PHP memory limit Intermediate Low 5 minutes
Re-upload WordPress core Intermediate Medium 15 minutes

The WordPress White Screen of Death looks catastrophic but is almost always caused by a plugin conflict, theme error, or memory limit, all fixable without losing your content. Work through the steps above in order: enable debug mode to identify the error, deactivate plugins, switch themes, raise the memory limit, and re-upload core files if needed. If you've tried everything here and your site is still blank, or if you'd rather not risk making things worse, the team at TheAppSense WordPress Support can diagnose and fix it for you, usually within hours.

Will fixing the White Screen of Death delete my content?

No. The fixes above, deactivating plugins, switching themes, raising the memory limit, and re-uploading core files, do not touch your posts, pages, or media. Your content lives in the database and the `wp-content` folder, both of which remain untouched. Always back up before editing files, just in case.

Why does the white screen only appear on the front end and not in wp-admin?

This usually means the problem is in your active theme rather than a plugin. The admin dashboard uses its own interface, so a broken front-end theme can leave wp-admin working normally. Try switching to a default theme as described in Step 4.

Can a hacked WordPress site cause a white screen?

Yes. Malicious code injected into a theme or plugin file can cause a fatal PHP error that produces a white screen. If you've ruled out plugins and themes and the problem persists, a malware scan is a sensible next step. WordPress Malware Removal can identify and clean injected code safely.

How do I access my files if I can't log in to WordPress?

Use FTP (File Transfer Protocol) with a client like FileZilla and the FTP credentials from your hosting account, or use the file manager built into your hosting control panel (cPanel, Plesk, etc.). Both give you direct access to your site's files without needing to log in to WordPress.

What PHP memory limit should I set for WordPress?

WordPress recommends at least 64 MB, but most modern sites with plugins and page builders need 128 MB to 256 MB. Setting `WP_MEMORY_LIMIT` to `256M` in `wp-config.php` is a safe starting point. Your hosting plan also has a server-level cap, so if the setting has no effect, contact your host to raise the server limit.

Hand your WordPress site to people who'll keep it running

Move to fully managed hosting and we'll handle speed, security, backups, and updates for you, with free migration and no lock-in. A faster, safer site, and a real person a click away.

We reply to every enquiry within one business day.