Finally, working and well-tested migration utility that allows you to move Wordpress blog under Drupal CMS is here. This module supports Drupal 4.7 (4.6 version is not supported) and both Wordpress 1.5 and 2.0.
Some interesting features:
- Posts, comments, categories, pages and users are migrated. wp2drupal respects unpublished and private settings so no non-public information will be revealed to unauthorized eyes after migration.
- Module is highly configurable. You can, for example, specify node types of imported posts and pages, each imported string can be run through custom string handling function etc. To not harm usability, wp2module comes with well-thoughtout default values so you will typically only need to adjust a very few settings.
- wp2drupal tries to make its best to handle strings and their character encoding right. For example, string are automatically „iconved“ if needed. You will appreciate this when your blog doesn't speak English.
- wp2drupal module provides a very flexible URL redirection mechanism. It is not Apache-dependent and works very well on an arbitrary server platform (tested under IIS + isapi_rewrite). Redirection rules are stored in a database table so if you wish, you can build your own redirection script although the default one that simply works is provided out of the box.
There are also things that you should pay attention to:
- This script is resource intensive. With hundreds of posts and comments, the script can easily exceed 30 second time limit that is usually assigned to PHP scripts. In these cases, you will need to enable set_time_limit() function to let migration process run longer than 30 seconds.
- wp2module is ready for usual one-man-show blogs and can't handle multi-user mega-blogs.
- Wordpress's custom meta-information (inserted in post creation form) are not migrated.
Currently, the project is hosted on my website ( http://www.borber.com/en/projects/wp2drupal ) where you can obtain the whole package. If you think that it would be useful to move it to contributed modules directory, I am not against.
Please leave a comment if you have problems, complaints or compliments :) Hope this will help you,