How To Solve WordPress Blank Page

I just moved my client’s website to another hosting. Everything is fine in the previous web hosting as well as in localhost, but it gave me a blank homepage. The weird thing is that all pages are accessible except home/index page.

Disabling plugins and change it to default theme still gave me a blank page, so I decided to send a ticket support. Just after it, I noticed that there is an index.html in the root folder. Deleting this file  solved my problem.

If you got a blank homepage in your wordpress site but can access other pages, then you should check any index file in your wordpress folder. Natively some servers will read index.html first rather than index.php.

You can leave a response, or trackback from your own site.

One Response to “How To Solve WordPress Blank Page”

  1. Connie says:

    well, this suggestion is not 100% correct.

    It can make sense to have a HTML-file there in the root, for example when you want to have your WP “offline” for some reasons.

    There is the Apache directive to tell the browser which files to deliver in which sequence:

    in the .htaccess set this:

    DirectoryIndex index.php index.htm index.html

    in case you want to activate the index.htm, deactivate that line and set this line in .htaccess:

    DirectoryIndex index.htm index.html index.php

    so I think this is better!

Leave a Reply

You must be logged in to post a comment.

Powered by WordPress | diSolo.BIZ | diSolo.COM