只需要输入原网站域名和新网站需部署的域名,就能完成 WordPress 域名更换
https://mtool.wpjam.com/change-domain/
UPDATE wp_options SET option_value = replace(option_value, ‘satastore.cn’, ‘duomixia.com’) WHERE option_value LIKE ‘%satastore.cn%’;
UPDATE tmp38836a_posts SET post_content = replace(post_content, ‘satastore.cn’, ‘duomixia.com’) WHERE post_content LIKE ‘%satastore.cn%’;
UPDATE tmp38836a_posts SET guid = replace(guid, ‘satastore.cn’, ‘duomixia.com’) WHERE guid LIKE ‘%satastore.cn%’;
UPDATE wp_options SET option_value = REPLACE(option_value, ‘https://www.satastore.cn’, ‘https://www.duomixia.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
UPDATE tmp38836a_posts SET post_content = REPLACE (post_content, ‘https://www.satastore.cn’, ‘https://www.duomixia.com’);
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, ‘https://www.satastore.cn’,’https://www.duomixia.com’);
UPDATE wp_comments SET comment_content = REPLACE (comment_content, ‘https://www.satastore.cn’, ‘https://www.duomixia.com’);
UPDATE wp_comments SET comment_author_url = REPLACE (comment_author_url, ‘https://www.satastore.cn’,’https://www.duomixia.com’);
UPDATE tmp38836a_posts SET guid = REPLACE (guid, ‘https://www.satastore.cn’, ‘https://www.duomixia.com’) WHERE post_type = ‘attachment’;
评论前必须登录!
注册