您可以将mysql命令用作:
UPDATE wp_posts SET guid = replace(guid, \'http://www.old-domain.com\',\'http://www.new-domain.com\');
以及
UPDATE wp_posts SET post_content = replace(post_content, \'http://www.old-domain.com\', \'http://www.new-domain.com\');
请在测试之前尝试!!!