When you move WordPress to a new domain you would think that just moving your database and your web files over and launching it would do the trick… but it doesn’t. Not only will your custom url settings be skewed but the database will redirect most links back to the original site. Once you’ve moved the database and web files you still need to use either PHPMyAdmin or a program like my favorite, Navicat for MySQL. Just connect to your database and issue these three commands in the console:
UPDATE wp_options SET option_value = replace(option_value, 'http://old-domain.com', 'http://new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, 'http://old-domain.com','http://new-domain.com');
UPDATE wp_posts SET post_content = replace(post_content, 'http://old-domain.com', 'new-domain.com');
Good luck, and thanks to My Digital Life for the tutorial that I learned this from.