Home > 网站建设 > 利用OPML文件导入WordPress链接表

利用OPML文件导入WordPress链接表

January 3rd, 2010 Leave a comment Go to comments

此文章为释疑或备份自己用,常常备份数据库直接备份所有文件的同学请绕行,下面开始我的伪技术:

肯定有不少同学和我一样,写完文章不是备份数据库的,而是直接导出xml文件,这样在重新安装WP以后可以方便的对以前的文章、标签、分类、页面、评论或者自定义域进行导入。经常使用这个方法的朋友一定会注意到导入页面的“链接表–从OPML文件导入链接”

下面我说下这个OPML文件的获得方法:

以我的imyan.org为例,浏览器输入http://imyan.org/wp-links-opml.php,打开就是这个OPML文件。然后另存为xml文件即可,注意选择UTF8编码。得到的wp-links-opml就可以作为链接表的备份文件使用了。

当需要导入的时候在WP后台执行:工具→导入→链接表 从OPML文件导入链接→选择文件导入即可

Categories: 网站建设 Tags: ,

声明: 本站遵循 署名-非商业性使用-相同方式共享3.0 共享协议,转载请注明本文地址。
本文地址:http://imyan.org/opml-to-wp-link.html

  1. January 3rd, 2010 at 22:53 | #1

    以前用过自动备份数据库的插件
    不过还是手动备份好

  2. January 4th, 2010 at 00:48 | #2

    者看上去很棒,我就喜欢无公害的小技巧。

  3. January 4th, 2010 at 17:01 | #3

    真巧 我今天也看这个了

  4. January 4th, 2010 at 17:47 | #4

    @zxdker
    反正我弄不大明白怎么数据库备份
    @hfantasy
    我主要是不熟悉数据库的后台,很头疼
    @吓我一跳
    世界就是这么小,哈哈

  5. January 18th, 2010 at 17:17 | #5

    我不备份

  1. No trackbacks yet.

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).