Drupal 2 WordPress简要教程

  从Drupal转回来第一篇关于WordPress的文章自然就是怎么转了(以后多转转看样子就不愁没文章写了)。本文针对的两款程序的版本为Drupal 5以及WordPress 2.0,转换完成后再升级WordPress到2.3或者更高版本。

  1. 安装WordPress 2.0到相同的MySql数据库中,安装目录随意(以后可以更改)。
  2. 把Drupal设置为Off-line模式。
  3. MySql中运行这个文件(Drupal2WordPress)中的语句。
    1. line 10,修改”use wordpress”为正确的数据库名字。
    2. line 20(2处),line 32(2处),line 36(1处),line 48(1处),一共5处字符串为”drupalmigration”修改为当前Drupal的数据库前缀(默认是没有的,所以一般删除这个字符串就可以)。
  4. 升级WordPress到最新版本

参考文章以及作者提供的SQL转换代码:How to migrate from Drupal 5 to WordPress 2

Technorati Tags: ,

6 Responses to “Drupal 2 WordPress简要教程”

Leave a Reply

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).