WordPress White Screen of Death: Fix It Without Losing Your Data
You open your browser, type in your website address, hit enter, and wait. Instead of your homepage loading, you are met with a completely blank white screen. No error message, no navigation menu, and no obvious clue about what went wrong.
This issue is commonly known as the WordPress White Screen of Death. While it can feel alarming to see your website vanish without warning, the white screen itself usually does not mean your content has been deleted. In most cases, your posts, pages, custom settings, and media files are typically still safely stored in your database and server files—they are simply temporarily inaccessible.
The immediate goal is not to rebuild your site or start deleting files. Instead, you need to systematically identify what caused the display error so you can fix it while keeping all of your site data intact.
What Is the WordPress White Screen of Death?
The WordPress White Screen of Death occurs when a script on your server fails to run properly, causing the site loading process to stop entirely before rendering any HTML.
This issue can manifest in a few different ways:
- The entire public site goes blank, but you can still log into the dashboard.
- The public site loads fine, but the admin area (
wp-admin) shows a blank screen. - Both the public site and the admin dashboard are completely inaccessible.
- Only a single post or page triggers the blank screen, while the rest of the site works.
In recent versions of WordPress, the core system often detects these critical errors and displays a message stating, "There has been a critical error on this website." However, older installations, specific server setups, or low-level PHP errors will still result in a completely empty screen.
Common Causes of the WordPress White Screen of Death
Understanding why the blank screen occurs helps you narrow down the solution. The most common causes of the WordPress white screen of death include:
- Plugin Conflicts: A single badly coded plugin, an incomplete update, or two plugins attempting to run conflicting functions can stop WordPress from loading.
- Theme Problems: Errors in your active theme's
functions.phpfile, broken template files, or theme updates can crash the frontend. - Exhausted PHP Memory: Your website script requires more memory to process a task than your server allocation allows.
- PHP Errors: Syntax errors introduced during custom file editing or compatibility issues between older plugins and newer PHP versions.
- Corrupted Files: Failed core updates or broken site files caused by interrupted file transfers.
- Issues After Migration: Domain changes, missing files, or database connection mismatches that occur when moving to a new web host.
Before You Start: Protect Your Site Data
Before trying any fix, focus on preventing accidental data loss. Troubleshooting without taking basic precautions can turn a minor, temporary display error into a permanent problem.
- Avoid Reinstalling WordPress Immediately: The core software is rarely corrupted to the point where a total reinstall is required. Starting fresh can erase custom settings unnecessarily.
- Never Delete Your Database: Your posts, pages, comments, and much of your site's configuration are stored in the database. Do not delete it while troubleshooting the white screen.
- Take a Backup If Possible: If you have access to your hosting control panel (such as cPanel or your host's custom dashboard), download a full file and database backup right away.
- Keep Notes: Record any files you rename, code you modify, or plugins you disable so you can reverse your actions later.
How to Fix the WordPress White Screen of Death
Follow these troubleshooting steps in order. They begin with the easiest, lowest-risk checks before moving to deeper technical adjustments.
Step 1: Clear Your Browser and Site Cache
Sometimes your website is already working, but your browser or caching system is serving a saved copy of the broken state.
Clear your browser cache or open your site in an incognito or private browsing window. If you use a third-party caching service or content delivery network (CDN) like Cloudflare, log into that service and purge the edge cache.
Step 2: Check Whether wp-admin Still Works
Open your browser and navigate directly to your login URL, usually yourdomain.com/wp-admin or yourdomain.com/wp-login.php.
If you can log in, the problem is isolated to your frontend site (often a theme or page-builder plugin). If the login page is also a blank screen, the issue is system-wide, and you will need to manage your files using your hosting control panel or FTP.
Step 3: Disable Plugins
Plugin incompatibility is the primary cause of the WordPress White Screen of Death. To solve this, you need to turn off your plugins to see if the site returns.
If you have dashboard access:
- Go to Plugins > Installed Plugins.
- Select all plugins, choose Deactivate from the bulk actions menu, and click Apply.
- Check your website. If it loads, reactivate plugins one by one until the site breaks again to identify the culprit.
If you cannot access the dashboard:
- Log into your web hosting control panel and open File Manager (or connect via an FTP client like FileZilla).
- Navigate to the
wp-contentdirectory. - Locate the
pluginsfolder and temporarily rename it toplugins-disabled.
/wp-content/plugins-disabled
Renaming this folder prevents WordPress from loading the plugins without deleting the plugin files or their stored data. Check your site again.
If your site loads, you know a plugin was causing the issue. To find out which one, rename the folder back to plugins. Then, open the plugins folder and temporarily rename individual plugin subfolders one at a time (for example, change plugin-name to plugin-name-disabled), refreshing your site after each rename until access is restored.
Step 4: Switch to a Default WordPress Theme
If plugins are not the problem, your active theme might be causing a PHP error. Testing this requires switching to an official default WordPress theme that is compatible with your current installation.
If you have dashboard access:
- Navigate to Appearance > Themes.
- Activate a default WordPress theme.
If you cannot access the dashboard:
- Open your hosting File Manager or FTP client.
- Go to
wp-content/themes. - Locate your active theme's folder and rename it (for example, change
my-themetomy-theme-old).
If a suitable default WordPress theme is installed, WordPress may switch to it when the active theme is unavailable. If the site loads after this change, the original theme is likely involved in the problem.
Step 5: Increase the WordPress PHP Memory Limit
When a script requires more processing memory than assigned by your server, it may terminate unexpectedly, causing your website to display a blank white screen.
You can request more memory by editing your wp-config.php file, which is located in the root folder of your WordPress installation.
- Connect to your server using File Manager or FTP.
- Locate and open the
wp-config.phpfile. - Add the following line of code right above the line that says
/* That's all, stop editing! Happy publishing. */:
define( 'WP_MEMORY_LIMIT', '256M' );
Save the file and upload it back to your server. This requests a 256 MB WordPress memory limit. Whether the full amount is available depends on your hosting environment and PHP configuration. If the problem is caused by insufficient memory, increasing the available limit may resolve the error. If nothing changes, your host may enforce a strict memory cap that requires server-level adjustments.
Step 6: Enable WordPress Debugging
If the screen remains empty, you need WordPress to show you the specific PHP error causing the problem instead of hiding it behind a blank display.
- Open your
wp-config.phpfile. - Look for the line that says
define('WP_DEBUG', false);. - Replace that line with the following code snippet:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
This configuration tells WordPress to hide errors from public visitors while writing them to a log file.
Save the file, refresh your broken website, and then check for a new file named debug.log inside the wp-content folder. Open this log file to view the exact error line, which will explicitly point to the specific plugin, theme, or core file responsible.
Note: Once you have fixed the problem, remember to change
WP_DEBUGback tofalsein yourwp-config.phpfile to protect your site's security logs.
Step 7: Check Recent Changes
Think carefully about what happened on your website right before the white screen appeared.
- Did you update a plugin or theme?
- Did you switch PHP versions in your web hosting control panel?
- Did you edit your
functions.phpfile?
If you modified a file, undo those edits. If an automated update broke the site, use your File Manager to temporarily rename that specific plugin or theme folder (for example, changing plugin-name to plugin-name-disabled). This prevents WordPress from loading the problematic component while keeping all its files and data safely preserved until you can replace or repair it.
Step 8: Check for File or Server Problems
If none of the previous steps work, you may be dealing with corrupted core files or a server-side configuration error.
- Check File Permissions: Folder permissions should generally be set to
755and file permissions to644. Incorrect permissions can stop scripts from running. - Re-upload Core Files: Before replacing core files, make sure you have a recent backup of your site files and database if possible. Download a fresh
.zipcopy of WordPress from WordPress.org, unzip it on your computer, and upload thewp-adminandwp-includesfolders to your server via FTP, overwriting the existing files. This replaces corrupted core systems without touching your custom uploads or database. Make sure you do NOT overwrite thewp-contentfolder or thewp-config.phpfile, as they contain your site-specific content, media uploads, plugins, themes, and configuration settings. - Contact Your Hosting Provider: If the server is experiencing high loads, database connection drops, or module misconfigurations, your host's support team can check server logs to identify the cause quickly.
How to Fix the White Screen If You Cannot Access wp-admin
When you cannot access your admin dashboard, you can troubleshoot the issue externally using your hosting control panel or FTP.
Here is the quick sequence for restoring access without dashboard access:
- Log into your hosting dashboard and launch File Manager.
- Go to
public_html/wp-content(or your site root directory). - Temporarily disable plugins by renaming the
pluginsfolder toplugins-disabled. - Check if the
wp-adminscreen becomes accessible. - If it does not, open the
themesfolder and temporarily rename your active theme directory to force WordPress to load a default theme. - Open
wp-config.phpin the root folder to increase the memory limit or enableWP_DEBUG_LOG.
These actions allow you to isolate and bypass bad code directly on the server level without using the graphical interface.
WordPress White Screen of Death After Migration
Seeing the White Screen of Death after migrating your site to a new server or web host is a common problem.
When moving sites, the error is usually caused by environment discrepancies:
- Incompatible PHP Versions: The new server must run a PHP version that is fully supported by your current WordPress installation, active theme, and plugins. If you suspect a PHP compatibility issue, check your theme and plugin requirements, or contact your hosting provider to ensure your server is using a supported PHP version while you identify any incompatible components.
- Corrupted
.htaccessFile: Server-level rules often fail to transfer cleanly. Make a backup copy of your.htaccessfile first if possible, then rename your.htaccessfile to.htaccess-oldand try refreshing the site. - Missing Files: Large migrations can timeout before transferring all files. Compare the file counts of
wp-content/uploadsandwp-content/pluginsbetween old and new hosts. - Database Connection Issues: Verify that the database name, user, password, and host parameters inside your
wp-config.phpfile accurately reflect your new hosting server details.
WordPress White Screen of Death Troubleshooting Checklist
Use this simple step-by-step checklist to guide your recovery effort:
- Do you have a recent backup of your files and database?
- Have you cleared your browser and server cache?
- Does the
wp-adminlogin screen work while the frontend is blank? - Have you temporarily disabled all plugins via dashboard or File Manager?
- Have you switched to an official default WordPress theme?
- Have you increased the PHP memory limit in
wp-config.php? - Is
WP_DEBUGturned on to output errors to a log file? - Did you revert any recent updates, code edits, or server changes?
- Have you checked for migration file gaps or PHP version conflicts?
How to Prevent the WordPress White Screen of Death
Preventing future crashes requires maintaining a stable, well-configured site environment:
- Maintain Regular Backups: Use automated backup solutions provided by your host or trustworthy plugins so you can restore your site with a single click if needed.
- Test Updates Safely: Whenever possible, test major WordPress, theme, or plugin updates on a staging site before applying them to your live website.
- Avoid Unnecessary Plugins: Keep your active plugins to a minimum. Delete unused plugins rather than just leaving them deactivated.
- Use Quality Code: Only download plugins and themes from reputable developers who issue regular updates and security patches.
- Keep PHP Updated: Ensure your web hosting environment runs a modern, supported version of PHP, but check plugin compatibility before upgrading.
Frequently Asked Questions
Can the WordPress White Screen of Death delete my website data?
The white screen itself does not normally delete your website data. In most cases, your posts, pages, comments, and other database content remain stored in the database. However, if the underlying problem involves database or server damage, the situation can be different, which is why keeping a recent backup is important.
Why is my WordPress website showing a white screen?
It usually happens when a PHP error occurs or when a script runs out of memory. This is commonly caused by plugin conflicts, theme errors, or corrupted files.
Why can I access wp-admin but not the website?
This indicates that the core WordPress software and dashboard files are functioning, but code running exclusively on the public side—such as your active theme or a frontend page builder—is failing.
What should I do if both my website and wp-admin are blank?
When both areas are blank, use your hosting control panel's File Manager or FTP to disable your plugins folder, switch your theme, or increase your PHP memory limit in wp-config.php.
Can a plugin cause the WordPress White Screen of Death?
Yes. Plugin conflicts or outdated plugins trying to execute incompatible code are among the most common causes of the WordPress White Screen of Death.
Can I fix the white screen without reinstalling WordPress?
Many instances of the white screen can be resolved by identifying and fixing the faulty plugin, theme, PHP configuration, memory issue, or corrupted file without needing to reinstall WordPress.
Conclusion
Encountering a blank screen on your site can be frustrating, but it is rarely a reason to panic. By approaching the issue methodically—testing for plugin conflicts, checking theme files, raising your PHP memory limit, and using debug logs—you can isolate the root cause safely. Working step-by-step ensures you recover your website quickly while keeping every piece of your site data secure.





