White Screen of Death

How to Fix White Screen of Death in WordPress Website

When you wake up one morning and browse your site, you get a white screen. This means that something went wrong with your WordPress website. This blank page makes it inaccessible for both visitors and administrators visiting your WordPress site. In this tutorial, I share how to do WordPress White Screen of Death fix.

How to Fix White Screen of Death in WordPress Website

What is WordPress White Screen of Death?

WordPress White Screen of Death is a common error and there are many pro bloggers who have experienced this WordPress White Screen of Death.

This error appears in Mozilla Browser with a full white blank page, while in Chrome this page referring working error appears.

PHP code errors and memory limit exhaustion are the a reason for WordPress blank page error. Additionally, it can also be caused by a plugin or theme error. This error can be caused by anything on your site. Here I will show you possible solutions which will help in fixing the wordpress blank page.

8 Steps How to Fix WordPress White Screen of Death

If you are seeing blank page error or this page believed working error on your WordPress site, then here are some common steps to solve the problem. But before making any changes to your site, make a full backup of your WordPress site.

  1. Disable Plugins and Themes
  2. Resolve Syntax Errors
  3. Switch on debugging
  4. Increasing Memory Limits
  5. Check for Failed Auto-Update
  6. Recreate .htaccess file
  7. Clear Your Website’s Cache
  8. File permission issues

1. Disable Plugins and Themes

This is the easiest and best way to fix WordPress White Screen of Death. Just log in to your WordPress site and disable all plugins. There are many bad plugins in the market that can make your site inaccessible. After deactivating the plugin, your site gets fixed, congratulations.

If you are unable to log in to your WordPress admin dashboard, first log into your cPanel and go to the root directory. Click on “wp-content” here and rename the plugin folder. For example plugins_OLD,

Now all plugins will deactivate on your site. Check your site. If your site opens, the plugin was the cause of this error.

During this time, if you go to the plugin page of your WordPress site, you will get the error code “the plugin has been deactivated due to an error; plugin file does not exist ”.

Nothing to worry about. To fix this, log into your web hosting cPanel again and rename the renamed plugins_OLD folder to the plugin again.

Then, go to the WordPress dashboard and activate the plugins one by one.

The same method is applied to disable WordPress theme. Log in to your WordPress site and go to the Appearance menu to activate the default WordPress theme (Twenty Nineteen).

>>> How to Fix Error Establishing a Database Connection in WordPress Website

>>> How to fix 500 Internal Server Error in wordpress website

>>> How to fix broken links in wordpress without plugin

>>> How to create backlinks for my website

But if you are not able to log in to your WordPress admin dashboard, first log into your cPanel and go to the root directory. Click on “wp-content” here, and rename the theme folder. For example theme_OLD, as you can see in the screenshot,

Check your site. If this works, then this issue was due to your theme.

Log into cPanel again and rename the renamed theme_OLD folder to the theme again. Don’t forget to delete your old theme file.

But if your site is still showing white screen or this page suspected working error, then follow the next steps.

2. Resolve Syntax Errors

This is also a common mistake. If you were editing the code on your WordPress site and you mistakenly typed something, it could also cause WordPress White Screen of Death.

But don’t worry, you can revert back the changes by connecting your site to the FTP client. If you are unable to understand what changes have caused the WordPress White Screen of Death problem, then you can restore your site by backup.

3. Switch on Debugging

You can see the reason for wordpress blank page error by wordpress debug function. To enable the debug function, replace the following code in the wp-config.php file

Here, I replace false with true. Now reload your site. Wordpress will automatically start displaying error. If this method is also unable to fix WordPress blank page, then proceed to the next step.

4. Increasing Memory Limits

Generally, this problem is also caused by exhausted memory. You will need more memory. For this, edit the wp-config.php file in the root folder of the site and use the following code snippet as ‘That’s all, stop editing! Happy blogging. ‘

define (‘WP_MEMORY_LIMIT’, ’64M’);

Now you can go to your WordPress site. If your site is live, then the problem was due to memory.

5. Check for Failed Auto-Update

Sometimes this is also caused by updates such as server timing out. Although it fixes automatically, but in some cases it generates WordPress White Screen of Death error.

Just go to your wordpress root directory and someone here

If a .maintenance file is there, delete that file and reload your site.

6. Recreate .htaccess file

The .htaccess file resides in the root folder of the WordPress site. If you make a small mistake while editing the .htaccess file, your site will break.

To recreate it, log into the hosting’s cPanal and click on file manager. After that go to the root directory and find the .htaccess file, then rename it to something like “.htaccess old file”.

Now log in to your WordPress site and go to the Settings >> Permalinks section and click on the Save Changes button without making any changes.

WordPress will automatically create a new .htaccess file for your website.

7. Clear Your Website’s Cache

Cache is used to improve website loading speed. Every WordPress user uses WordPress caching plugins to boost page loading speed. Sometimes, caching causes errors as the file becomes outdated.

8. File permission issues

File permission issues also cause white screen error on your WordPress site. You can fix this problem yourself or consult a WP Expert, there are three simple rules for WordPress,

  • Files must be 664 or 644,
  • Folder must be 775 or 755
  • wp-config.php file must be 660, 600, or 644

If you have SSH access on your server, you can apply these three rules using the following commands,

sudo find. -type f -exec chmod 664 {} +

sudo find. -type d -exec chmod 775 {} +

sudo chmod 660 wp-config.php

Also, if you run multiple sites on the same hosting, first ckeck that this WordPress White Screen of Death is visible on only one site. If this problem is on all sites, it indicates that your web hosting provider has problems.

Final thoughts

These are some of the steps that help to fix WordPress blank page. If this WordPress White Screen of Death is still on your site, you can contact your hosting provider or hire a developer.

Most of the time, this is caused by an issue theme or plugin. Additionally, you can detect the problem by enabling debugging.

If this article has proved helpful for you, then don’t forget to share it!

Leave a Comment

error: Content is protected !!