Knowledge Base
MilesWeb / WordPress FAQ

How to fix blank pages in WordPress?

Approx. read time : 3 min

The article guides you on what can be done when WordPress shows the blank page. This problem is also popularly known as the “white screen of death”.

What is the actual problem?

When you try to view a page on the WordPress site, it shows you a blank page. This problem can occur for only one page, or several pages, or the entire site. Also, it may not allow you to log in.

Resolution to the problem.

Two of the most common causes of appearing a blank page on WordPress sites are :

  • A malfunctioning plugin
  • A malfunctioning theme

To fix these problems, you can go on selecting disable plugins one by one until the affected page or pages gets loaded in your browser. Or, if you find that the current theme is causing a problem, then you can revert to the default theme.

# Steps to disable plugins

After logged in as the administrator, try to disable plugins one by one until the problem doesn’t occur anymore. When you find out which plugin is causing the problem, you can update it, or leave it disabled, or even remove it entirely.

Even if you are unable to log in to Administration Screen, still, you need to disable plugins manually. To do this, perform the following steps :

  1. Log in to cPanel.
  2. By using File Manager locate the public_html/wp-content/plugins directory.
Note: In case if you have installed WordPress in a subdirectory, then navigate it to the wp-content/plugins directory in that directory instead.
  1. Each plugin is incorporated into a separate directory and to disable a plugin, rename its directory. For example, in order to disable the Akismet plugin, you can rename the akismet directory as akismet_backup.
  2. Now retest the WordPress site. If the blank page or pages are still appearing then repeat steps 3 and 4, and disable different plugins each time when you locate the cause.
  3. Once you are done with the troubleshooting, ensure that you restore the plugin directories to their original names.

# Steps to revert to the default theme

In case you have tried to disable plugins and still can see blank pages, then the possibility is that the current theme is causing problems.

By logging in as the administrator, change the theme to the default theme. Or, if you are not able to log in as an administrator, then enable the default theme manually. To do this perform the following steps :

  1. Log in to cPanel.
  2. By using File Manager, view the contents of the public_html/wp-content/themes directory.

Note: In case if you have installed WordPress in a subdirectory, then navigate it to the wp-content/plugins directory in that directory instead.

  1. Note the name of the default theme.
Note: The default theme names are usually represented in years and can be spelled out as twentyfourteen, or twentythirteen, etc. If you can see several default themes, then select the most recent theme name.
  1. Now, return to the cPanel home screen.
  2. Locate the Databases section on the cPanel home screen, and click on phpMyAdmin.
  3. On the left-hand side of phpMyAdmin, click on the WordPress database. A list of tables in the database appears.
  4. In the database, click on the wp_options table.
  5. Go to the option_name column and locate the template and stylesheet rows. You can see the option_value settings, in these rows, contains the current theme.
  6. In the template row, double-click the option_value setting, type the default theme that you have obtained in step 3, and then click Enter.
  7. Repeat Step 9, for the stylesheet row. The default theme now gets activated.
  8. Again retest the WordPress site. If the previous theme was the cause of problems, then now the site should work correctly using the default theme.

Also Read :

1) How To Resolve The ‘INTERNAL SERVER ERROR’ In WordPress

2) Clone a WordPress Website Using Duplicator – A Beginner’s Guide

With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.
Need help? We’re always here for you.