When Your Wordpress Blog Goes Blank – Possible Fix

April 6, 2009 by Ms. Crafty · Blogging with Wordpress · 5 Comments 

One of the many services I offer is migrating Wordpress blogs from one host to another. If you’re attempting to migrate your own blog, here’s one important tip: deactivate your caching plugin before you migrate (usually wp-cache or wp-super-cache).

You don’t have to deactivate any other plugins, if you’re migrating your entire database then it’ll automatically reactivate what you were using before. But caching plugins do not play well with blog moves.

If, once you’ve moved the site, all you see is a blank page—not an error page, your site is just a blank page with nothing on it—then check your wp-config file for the following line or something like it:

define('WP_CACHE', true); //Added by WP-Cache Manager

You can either disable the line by putting a “#” in front of it like so:

#define('WP_CACHE', true); //Added by WP-Cache Manager

or you can delete the entire line and trust the caching program to add it back in once you reactivate.

I encountered this issue on Media Temple. I don’t know if that’s because MT is a bit different or if I’ve always turned off the caching plugin before. It was quite easy to fix, but a real pain to catch.

So if your Wordpress blog is showing nothing but blank pages check your wp-config file–it may be an easier fix than you expected. (Also, check to make sure your new host doesn’t have an index.html file in your blog’s main directory. All you want is index.php and index.php.wpau.bak, index.html will keep the front page of your blog from showing up).

Print

{ 5 comments… read them below or add one }

1 Andrew April 7, 2009 at 7:24 pm

Off topic, but I love that you added gravatar support!

2 Duncan May 8, 2009 at 10:26 am

THANKS!

Been working on this for several hours now! Who knew it was that easy to fix?! (i’m on media temple as well)

Duncan’s last blog post..links for 2009-05-07

3 Jason May 11, 2009 at 8:34 pm

Wow. Thank you. I’ve been working on this problem for the last 24 hours. I’ve tried uploading the files multiple times with multiple FTP clients; dropping and recreating the database, bloody everything. How simple. Thanks.

4 Ms. Crafty May 11, 2009 at 9:11 pm

Thanks Andrew, I had fun making a few modifications to the site.

Very glad I could help, Duncan and Jason. Hope everything else goes smoothly.

5 Claudia June 27, 2009 at 1:17 pm

Hi,

I found that line in my wp-config file and deleted it but I’m still getting a blank page.

Any ideas?

Leave a Comment

CommentLuv Enabled