How to Migrate Drupal Reviews to WordPress
Drupal and WordPress are both capable of powering eye-catching and interactive product review sites. When you make the decision to migrate your site from Drupal to WordPress, the prospect of moving a large number of reviews may seem daunting, but you can use a number of methods to get the job done with a minimum of time and effort.
Instructions
-
-
1
Back up your Drupal installation and database so that if the conversion goes awry, you’ll be able to restore your site. This safeguard should be followed whether you use a conversion service, a script or the hand-conversion method.
-
2
Consider having a professional migrate your reviews. If you used a custom Drupal module for formatting your reviews or you also need design work, you can hire a service to convert the entire site for you.
-
-
3
Check with module publishers for advice if you use Drupal modules for special features, such as public star reviews that might otherwise be lost in conversion. At the very least, you may find WordPress plug-ins that will duplicate the functionality.
-
4
Use a utility or script to convert your reviews to WordPress posts. The WordPress Codex at codex.wordpress.org includes an up-to-date list of utilities to automate the conversion process. Before using any utility, however, verify that it works with your installed versions of Drupal and WordPress.
-
5
Install WordPress on your domain. If possible, install WordPress into the same database where you installed Drupal. Once WordPress is installed, you can perform any of the hand conversion steps below.
-
6
Copy and paste by hand from Drupal to WordPress if you only have a small number of reviews. Even if you must manually configure tags, categories, ratings and other data, it may be less time-consuming than manually editing the WordPress database.
-
7
Export an RSS feed from Drupal with your reviews and then import the feed using the “Import” tools in WordPress. Clean up any extra HTML line breaks in the resulting WordPress posts.
-
8
Merge your Drupal database into your WordPress database if you feel comfortable working with database tables. First, truncate the tables named "comments," "posts," "postmeta," "term_relationships," "term_taxonomy," and "terms." If you want to migrate user data, delete all entries except the first (administrator) in the "users" table. Create the appropriate categories and add the taxonomies from Drupal into the WordPress database, then insert the articles. Convert the Drupal term "articles" to the WordPress term "posts." Add post-to-category relationships and update category counts; then add comments and update comment counts. Finally, resolve line-break differences, convert the default image path to the WordPress "uploads" folder, and copy any images from Drupal to the “/wp-content/uploads” folder.
-
1
References
Resources
- Photo Credit Christopher Robbins/Digital Vision/Getty Images