When you try to view a page on a WordPress site, a blank page appears. This problem may occur on only one page, several pages, or the entire site. Additionally, you may be unable to log in.
The most common causes by far of blank pages appearing on WordPress sites are:
- A malfunctioning plugin
- A malfunctioning theme
To troubleshoot this problem, you can selectively disable plugins one by one until the affected page or pages load in your browser. Alternatively, if you suspect the current theme is causing a problem, you can revert to the default theme.
If you cannot log in to the Administration Screen, however, you must disable plugins manually. To do this, follow these steps:
- Log in to Hosting Control Panel---> Files.
- Navigate to the WordPress site root wp-content/plugins directory.
- Each plugin is contained in a separate directory. To disable a plugin, rename its directory. For example, to disable the Akismet plugin, you could rename the akismet directory to askismet_backup.
- Retest the WordPress site. If the blank page or pages still appear, repeat steps 3 and 4, disabling a different plugin each time until you locate the cause.
- When you are done troubleshooting, make sure you restore the plugin directories to their original names.
Reverting to the default theme
If you disable plugins and still see blank pages, then the current theme may be causing problems.
If you can log in as the administrator, try changing the theme to the default theme. If you cannot log in, however, you can enable the default theme manually. To do this, follow these steps:
- Log in to Hosting Control Panel--->Files.
- View the contents of the WordPress site root public_html/wp-content/themes directory.
- Note the default theme name.
- Connect to your db via phpMyadmin.
- In the left-hand pane of phpMyAdmin, click the WordPress database. A list of tables in the database appears.
- Click the wp_options table. In the option_name column, locate the template and stylesheet rows. The option_value settings in these rows contain the current theme.
- For the template row, double-click the option_value setting, type the default theme name you obtained in step 3, and then press Enter.
- Repeat steps 6,7 for the stylesheet row. The default theme is now active.
- Retest the WordPress site. If the previous theme is the cause of the blank pages, the site should now work correctly using the default theme.