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).
If you've found this article useful, why not get new posts in your RSS reader or in your e-mail? Your e-mail will only be used for new posts and you can unsubscribe at any time.




{ 5 comments… read them below or add one }
Off topic, but I love that you added gravatar support!
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
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.
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.
Hi,
I found that line in my wp-config file and deleted it but I’m still getting a blank page.
Any ideas?