WordPress website shows blank page without any errors in logs

Created:

2016-11-16 13:06:36 UTC

Modified:

2017-08-16 15:10:27 UTC

3

Was this article helpful?


Have more questions?

Submit a request

WordPress website shows blank page without any errors in logs

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

WordPress website shows a blank page without any errors in logs.

Cause

Empty index.php in document root or empty index.html

Resolution

- Make sure that index.php is not empty. Replace the content of index.php with the following if it differs:

# cat /var/www/vhosts/example.com/wordpress/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );

- Remove index.html from website directory.

Have more questions? Submit a request
Please sign in to leave a comment.