Support » Fixing WordPress » Homepage Not Showing (unless logged in as admin)

  • Resolved James Kenny Photo


    Hi All,

    I’ve just noticed that the homepage on my wordpress site ( has disappeared. For a second I thought my hosting had expired, but all of the other pages work fine!

    The strange thing is that the homepage does show up if I’m logged in as admin…

    Any ideas where I can start looking for the cause of this?

    I have deactivated all of my site’s plugins and nothing changed…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moondrop


    Hi James, this looks like the result of a PHP error on your home page. The usual way to troubleshoot this is to try disabling all of your plugins and see if the problem persists. If the blank page is gone after, that means a plugin is causing this issue.

    If you made any recent changes to your site’s code (commonly the functions.php), that too could be causing the issue.

    You can get a much more detailed report on what the error is by enabling the WordPress debug log:

    James Kenny Photo


    Thanks Moondrop.

    I turned on debugging but nothing is showing up (both when logged in and not logged in).

    I have made some changes to the functions.php file when I was trying to duplicate the site to move it, so will have a look at that.

    Is there anything in particular I should look out for?



    Which debug method did you turn on? Try using define('WP_DEBUG_LOG', true); and it will store the error in a file called debug.log. To access the log file you will need to FTP into your site and view it in the /wp-content/ directory.

    Since you mentioned you made changes to the functions.php file, if you have any backup/earlier versions of that file try restoring that to see if the functions.php is the cause of the problem. The PHP error could be many things, like an unclosed <php> tag.

    James Kenny Photo


    Just an update- I have now sorted this. I did what moon drop suggested and in the debug.log there was an endless list of entries related to W3 SuperCache.

    I followed the removal instructions on the supercache page on wordpress’ site and the problem has not been solved!

    Thanks for the help moon drop!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Homepage Not Showing (unless logged in as admin)’ is closed to new replies.