Skip to content
anthonylv edited this page Feb 3, 2015 · 3 revisions

Update 3 February 2014: After a good number of migrations since releasing this tool, I'm finding the HTML/PHP/MySQL platform a little too cumbersome for all but the most basic of Drupal configurations. pyD2W is my Python-based command line replacement that is better suited to complex set-ups.


This tool performs the bulk of the content migration from Drupal 6 to WordPress 3.5.

Eventually I aim for it to be a 'wizard' style utility that can be used by less technical people, like web creatives who've been tasked with migrating their clients' sites from various releases of Drupal into the latest version of WordPress. However, these initial versions should definitely be considered beta code and only used by people who know what they're doing when it comes to setting up and configuring content management systems.

Simple sites with few content types generally migrate OK but you will likely have to run some manual SQL queries for more complex setups. You may also need to make some tweaks to your settings after running the migration to get your WordPress installation ready for launch.

Please see this article for some background information on this project. Part of my reason for releasing for public use is to get feedback for improvements.

How it works

It runs a series of MySQL queries to read information from a Drupal database and insert them into a WordPress database. Many of the queries are based on a post by Scott Anderson of Room 34 Creative Services.

Installation and use

Copy folder to a web server or hosting account and run the drupaltowordpress.php script on your browser. Follow the on-screen instructions. You should be able to use any type of MySQL and PHP environment so long as the code can connect to both the Drupal and WordPress databases on the same server. Both databases must share the same connection details.

Post-migration

Please see my post-migration notes for help on getting your WordPress up and running after migration.

Clone this wiki locally