JDM Digital

Blank White Pages in WordPress

If your WordPress site is not responding or stalling or just showing a blank white page, this most likely results from a corrupted/hacked plugin or theme.  When loading the site in your browser, it’ll continuously load until it times out, or load a blank white page.  Here’s how to troubleshoot it.

WP-Config.php Issue

Incorrect information in your wp-config.php file can cause a white blank page to appear.  Open this file in your favorite HTML editor and check the database information is correct.  If the database server itself was down, you’d get an “Error Establishing Database Connection” error–not a blank screen.

Check the Bootstrap

If your config file looks fine, make sure your site has the WordPress index.php file uploaded to the root of the server.  Also, make sure there isn’t another index file in the root of the site.  If there’s an index.html or default.html or default.php, your web server may favor that over the WordPress index.php file.

Fixing it is easy.  If it’s not there, upload one.  All WordPress index.php files are the same, so you could use your local copy or download WordPress again, and just upload the index.php file from the root.  If there’s another index or default file in the root that’s blocking the WordPress index.php file from loading, just delete the other file.

Plugin Issue

Could be a hacked plugin, a bad plugin update or some other sort of plugin weirdness.  The easiest way to deactivate ALL your plugins at once is to open an FTP client (like FileZilla) and rename the /wp-content/plugins/ directory to something else, like: /plugins-backup/.

That forces WordPress to load with NO plugins active at all.  Don’t worry.  All the plugins are still there and their settings are safe in the database.  They just won’t be seen by WordPress which will assume they’re aren’t any plugins active.

View the site in a browser and see if that fixes the problem.

Theme Issue

Perhaps more likely than a plugin issue, your theme couldn’t have become corrupted (hacked, or just jacked).

Open an FTP client (like FileZilla), make sure you have one of the default themes in /wp-content/themes/ and delete your custom theme’s folder (for example, /wp-content/themes/customtheme/).  WordPress will see the active theme doesn’t exist anymore and it’ll fallback to the default theme.

View it in a browser.  Did that solve it?  If so, it’s your theme that’s causing the issue.

Re-Upload the Core

If all else fails, try re-uploading the core WordPress files (that’s everything except /wp-content/).

If all else fails…

Don’t be afraid to ask for help and we’ll see if we can revert or restore the site from a backup (if there is one).

Get the Email

Join 1000+ other subscribers. Only 1 digest email per month. We'll never share your address. Unsubscribe anytime. It won't hurt our feelings (much).

Subscribe

Exit mobile version