WordPress批量替换文章内容/文章标题/标签TAG,打开MYSQL,执行以下命令:

1、批量替换文章内容

update wp_posts set post_content = replace(post_content,'kaixuan','凯旋')
批量将文章中的kaixuan替换成凯旋 2、批量替换文章标题
update wp_posts set post_title = replace(post_title,'kaixuan','凯旋')
批量将标题中的kaixuan替换成凯旋 3、批量替换TAG标签
update wp_terms set name = replace(name,'kaixuan','凯旋')
批量将TAG中的kaixuan替换成凯旋  
Last modification:May 16th, 2019 at 06:15 pm
如果觉得我的文章对你有用,请随意赞赏