wordpress批量修改域名SQL
作者:互联网
UPDATE wow_options SET option_value = REPLACE(option_value, 'https://wooooooow.cn' ,'http://wooooooow.loc') WHERE option_name = 'home' OR option_name = 'siteurl';
/*更正文章中内部链接及附件的地址:*/
UPDATE wow_posts SET post_content = REPLACE(post_content, 'https://wooooooow.cn' ,'http://wooooooow.loc');
/*更正wordpress文章默认的永久链接:*/
UPDATE wow_posts SET guid = REPLACE(guid, 'https://wooooooow.cn' ,'http://wooooooow.loc');
标签:loc,SET,cn,wow,wooooooow,域名,wordpress,SQL,option 来源: https://www.cnblogs.com/xiaobingch/p/12764390.html