trial & error

刚刚竟然犯了个非常白痴的错误, 就是新建了一个同名的database把之前那个覆盖了…然后wordpress 又回到原始状态…真是欲哭无泪 T___T 幸好昨天有备份过blogger的数据, 只要把编码转换回utf-8就可以恢复日志和评论内容了. …总算万幸
(以后一定要记得经常备份, 电脑固然不可靠, 不过最不可靠的其实还是自己 5555…)

trial and error虽然很讨厌, 但的确能学到不少东西…
之前看到有方法是在wp-includes/wp-db.php文件中修改connection来解决乱码问题, 我试过但不成功, 原因不明……所以我这次的转换是按照google上搜到的这篇“关于GB2312/Big5中文WordPress站点向UTF-8的转换”文章来进行. 就是在phpMyAdmin中把语言设置为GB2312, 导出wp数据库到本地, 然后选定界面为UTF-8, 再用文本粘贴的方式导入数据. 对于我这个新手来说还是这个方法比较直观, 耻笑禁止 :P

另外 现在访问可以用新的域名 http://www.susser-tod.net

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word