UPDATE wp_options SET option_value = REPLACE(option_value, 'old.com', 'new.com') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = REPLACE(guid, 'old.com','new.com'); UPDATE wp_posts SET post_content = REPLACE(post_content, 'old.com', 'new.com');
替换WP数据库域名
上次更新时间 : 2014-02-08 19:38
暂无评论