Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to fix a blank page on your WordPress site

Only some pages are blank, or the whole site is empty. This guide helps you find the reason step by step.

WordPress2 min read11 steps

What does a blank page mean?

A blank page means WordPress stopped before it could draw anything. The cause is often a PHP error. PHP is the programming language WordPress runs on. WordPress hides the error from visitors, so you see only white.

First, find out where the blank page appears:

  • Only the front of the site is blank, but the dashboard works.
  • Only the dashboard is blank.
  • Only one page or post is blank.
  • Everything is blank.

This tells you where to look. A blank front with a working dashboard often points to the theme. A blank dashboard often points to a plugin.

Warning: Make a backup of your files and database before you test fixes.

Fix 1: Clear the cache

  1. Clear your browser cache. A cache is a saved copy of pages.
  2. Clear the cache in any caching plugin on your site.
  3. Reload the page.

Fix 2: Test the theme

  1. If you can log in, go to Appearance and then Themes.
  2. Activate a default theme, such as one named "Twenty Twenty-Four".
  3. Check the site.

If you cannot log in, rename your theme's folder inside wp-content/themes using File Manager.

Fix 3: Test the plugins

  1. In File Manager, open wp-content.
  2. Rename the plugins folder to plugins_off.
  3. Reload your site.
  4. If it works, rename the folder back to plugins.
  5. Turn plugins on one at a time to find the problem one.

Fix 4: Read the error

Open wp-config.php and set debug mode like this:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Errors are now saved in wp-content/debug.log. The last lines usually show the file that failed. Turn debug off when done.

Fix 5: Raise the memory limit

Add this line to wp-config.php:

define( 'WP_MEMORY_LIMIT', '256M' );

This gives WordPress more working space.

Go to Settings, then Permalinks, and click Save Changes. This rebuilds the page address rules.

Tip: If these steps do not help, open a support ticket. Say which pages are blank and what you tried.

Quick recap

  • A blank page hides a PHP error.
  • Note which pages are blank first.
  • Test cache, theme and plugins.
  • Use the debug log to read the real error.