进入服务器网站数据库-SQL
直接给代码替换网址
UPDATE wp_options SET option_value = replace(option_value, 'https://www.zgws.net', 'https://www.dtmb.wang') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, 'https://www.zgws.net','http://www.dtmb.wang');
UPDATE wp_posts SET post_content = replace(post_content, 'https://www.zgws.net', 'https://www.dtmb.wang');
UPDATE wp_postmeta SET meta_value = replace(meta_value,'https://www.zgws.net','https://www.dtmb.wang');
UPDATE wp_usermeta SET meta_value = replace(meta_value, 'https://www.zgws.net', 'https://www.dtmb.wang');
UPDATE wp_comments SET comment_content = REPLACE (comment_content, 'https://www.zgws.net', 'https://www.dtmb.wang');
UPDATE wp_comments SET comment_author_url = REPLACE (comment_author_url, 'https://www.zgws.net','https://www.dtmb.wang');
这样就把本站域名https://www.zgws.net替换成了https://www.dtmb.wang
1.本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:115904045@qq.com,我们将第一时间处理!
2.资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持
3.所有资源仅限于参考和学习,版权归原作者所有,更多请阅读网站声明。