update wp_postmeta SET meta_value = REPLACE (meta_value, '原字符', '需要替换的字符')
比如替换正文中的图片地址:
update wp_posts set post_content = replace(post_content, 'https://www.zhann.cn','https://www.zhann.cn');
© 版权声明
THE END
update wp_postmeta SET meta_value = REPLACE (meta_value, '原字符', '需要替换的字符')
比如替换正文中的图片地址:
update wp_posts set post_content = replace(post_content, 'https://www.zhann.cn','https://www.zhann.cn');
暂无评论内容