【转】wordpress更换域名
分类:折腾日期:2012-07-26 - 18:17:34评论:23条作者:老谢
//替换评论者的链接 UPDATE wp_comments SET comment_author_url = REPLACE( comment_author_url, ’http://oldurl’, ’http://newurl’ ); //替换文章中的链接 UPDATE wp_posts SET post_content = REPLACE( post_content, ’http://oldurl’, ’http://newurl’ ); //替换评论者的电子邮箱地址 UPDATE wp_comments SET comment_author_email = REPLACE( comment_author_email, ’old-email@address.com’, ’new-email@address.com’ ); //替换评论者的昵称 UPDATE wp_comments SET comment_author = REPLACE( comment_author, ’old_author’, ’new_author’ ); |
PS:出处实在找不到了,这里向原作者表示抱歉,之前保存到本地,为了方便查阅就贴到了博客。
最新评论
空空裤兜:在天猫买的利维斯顿,阿里智能APP...
林羽凡:我突然发现,你也记录了很多博文了。
菊座:小米的东西还行
zwwooooo:一般电器产品都jd,就是想售后身心
zwwooooo:能随便搞个公司玩玩也算是实力选手
大D:坚持就是胜利哈哈哈
老麦:看着那一排日志存档,老前辈了啊。
大峰:这售后可以嘛~
平安家属子痕:终于更新了,你这年更都算不上...
Mr.Chou:几年了售后还是给力..博客在外漂着...