Solve WordPress Blank Page

Today my blog was down for couple hours. My front page was blank. No errors, no response, no logs and it was really make me frustrated. After digging a while i found that my admin backend was working and no errors. And i tried to type any link so it will produce 404 response, and yippiee… my blog show up. But the front page still blank!

Then i remember last night i edited some configuration in .htaccess file.  I tried to restore it and the front page still blank. Argghhh….. Then i tried to find any tips on google to solve blank page issues. First they said, deactivate all plugins, change to default themes, and clean all spam in your inbox. I did all what they said, but still my front page was blank!!!

All configurations are okay, all plugins are working fine because my other page are working fine except front page, .htaccess file is okay, then why my front page still blank???

Hmmm… everything is okay but i missone thing, there is index.html file in my root directory!!! What the hell is that?? I don’t know why it is there! So i deleted index.html file, and yipieee my front page is back 🙂

So when you have the same problem, first look into your root folder, it should have only one index file that is index.php..

Related update:
Steps To Fix WordPress Error Blank Page

Comments

  1. Arianaduby says:

    Great! Thank you very much! I always wanted to write in my blog something like that. Can I take part of your post to my site? Of course, I will add backlink? Regards

  2. Arianaduby says:

    Great! Thank you very much! I always wanted to write in my blog something like that. Can I take part of your post to my site? Of course, I will add backlink? Regards

  3. Onur Özer says:

    I've had the exact same annoying problem. Thanks to your post, removing index.html fixed it for me!

  4. Onur Özer says:

    I’ve had the exact same annoying problem. Thanks to your post, removing index.html fixed it for me!

  5. THANK YOU! THANK YOU! THANK YOU!

    All I can say is thank you Ivan. I had the same problem today when I tried uploading a toolbar plugin. My index screen went blank and I was on panic mode most of the day.

    Its fixed now and again just wanted to say thank you.

    Best wishes,

    Robert

  6. THANK YOU! THANK YOU! THANK YOU!

    All I can say is thank you Ivan. I had the same problem today when I tried uploading a toolbar plugin. My index screen went blank and I was on panic mode most of the day.

    Its fixed now and again just wanted to say thank you.

    Best wishes,

    Robert

  7. Aaron says:

    hi, you can also check my site for other solution if the above solution doesn't work for you. thanks
    http://eirhon.com/blog/blank-page-script-injection-attack-wordpress-2-9-2

  8. Aaron says:

    hi, you can also check my site for other solution if the above solution doesn't work for you. thanks
    http://eirhon.com/blog/blank-page-script-injection-attack-wordpress-2-9-2

  9. Mat says:

    Thank you! Nice find. I had the same problem.

  10. Thanks! My blog went blank as well, no feedback at all whatsoever, and it appeared I created a index.php file in my child theme´s root just to hide the directory content. Darn!
    But solved now.
    I also can't just switch themes because when I switch back I have to reconfigure all the sidebar widgets. So my advice people : first look for some index.html, .shtml, .php in the root of your wp install root or child themes' root, before messing with themes and switching on and off plugins

  11. In my case I found in the root folder the index.php dated something 2008. Absolutely no idea why – my last update was on 27.02.2011. Fortunately I had just recently made a backup of my site and simply copied back the older version of the index.php which did the job. The website not blank any more.

    However, I'm wondering how on earth this may have happened? Did somebody hack into my site?

    Many thanks for this article, Ivan. It helped me not to freak out the whole day.

  12. Colin McNulty says:

    I feel your pain, it's happened to me several times too. I put together a comprehensive list of ways to fix it on my blog here, which might help: http://www.colinmcnulty.com/blog/2008/07/08/solution-to-wordpress-blank-screen-of-death/

  13. Thanks Collin, i also have another article which have check lists to do when WordPress have blank page. But your article is useful, thanks.

  14. Good to hear that and i’m glad i can help you out.

Give me your feedback

This site uses Akismet to reduce spam. Learn how your comment data is processed.