Drupal to Wordpress springtime migration

By Georges Auberger Georges Auberger Permalink

migrating...

If you’re reading this post, you’ve noticed that we recently migrated our blog system out of Drupal into Wordpress. This is the first step in our initiative to decentralize our various web properties and replace them with loosely coupled systems. Our aim is to make it easier to publish information and increase transparency into the Songbird project. Stay tuned for more changes to come soon.

In the process of migrating data, we wrote a set of Ruby scripts to facilitate ingestion of content. We’ve created an ActiveRecord model for Drupal 4.5 and Wordpress 2.0 schemas. The scripts take care of migrating user accounts, content, comments and categories. A set of mod_rewrite directive is also generated to help ensure that permalinks are maintained.

In the hope that it will be useful to the community, we’ve released the sources for the scripts. You can find them on the drupal2wordpress Google Code project

Enjoy.

Both comments and trackbacks are currently closed.

1 Trackback

  1. [...] Songbird migrated from Drupal to WordPress which is something I’ve seen more and more of lately with WP 2.5. [...]

25 Comments

Subscribe
  1. GeekShadow Apr 23, 2008 4:07 pm Permalink

    Good job, Wordpress is very nice ;)

  2. Ezra Gildesgame Apr 23, 2008 4:56 pm Permalink

    Thanks for mentioning this migration!

    I would be interested to hear more about why you chose to go with Wordpress instead of Drupal.
    Also, I wonder if you could clarify what you mean by
    “decentralize our various web properties and replace them with loosely coupled systems.” ?

  3. georges Apr 23, 2008 5:45 pm Permalink

    @Ezra
    Many factors were considered. Wordpress provides a rich array of plug-ins, clean templating and strong spam filter via Akismet. It’s also more familiar to most birders as it matches their blogging system.
    Drupal has been the center of our content management solution for www, blogs, forums and user authentication for a while. Instead of continuing to centralize all these function into one platform, we’re considering the needs for each one of these applications and decided to migrate to those systems that are the most tailored to our needs. Where it makes sense, we’ll be tying those together using OpenId.

  4. tylerstyle Apr 25, 2008 1:14 am Permalink

    Your post made me curious, georges. I more then once heard about all the OpenId shebang, but never looked into it. Now I did. Personally, I think it has as many downsides, as upsides. A unified login system for the internet use has its security issues that must be dealt with, but has the huge plus, that you only have one ID and thats it. Done.

    As I looked into it though, as it now stands, almost no one supports it. At least the big players in the IT seem to be very reluctant to use it. Beside of tiny (personel-)blogs and sites no one seems to use this new system. I found no single site, that catched my interest to try my newly created ID.
    Guess we’ll have to wait and see, how that develops.

  5. Dagur Apr 25, 2008 2:03 am Permalink

    Behold WordPress, Destroyer of CPUs:
    http://www.codinghorror.com/blog/archives/001105.html

  6. georges Apr 25, 2008 7:55 am Permalink

    @tylerstyle
    Currently most large organization such as AOL, Google and Yahoo are acting as OpenID providers, i.e. they allow their user’s credential to be used on other OpenID sites, but don’t necessarily allow users to login with OpenID on their properties.
    The sites that accept OpenID are perhaps not as prominent but their number is growing. You can look at the my openid directory and openid directory. Most notably, 37 signals the provider of the popular Basecamp, Backpack and Highrise applications supports it.

  7. kourge Apr 25, 2008 8:04 pm Permalink

    I think the only valid arguments I see is of familiarity birders have and the fact that songbirdnest.com is built with Drupal 4.5.
    Drupal is currently at version six and supports OpenID (bundled in core), has a healthy module ecosystem, allows choice between many template systems (there’s even a LOLCAT template engine), and also supports Akismet through a third-party module.
    After reading Dagur’s link, I’d like to point out something. It is argued that if caching is so commonly needed for WordPress, then why is it that wp-cache isn’t bundled in core as part of the distribution? In this field, Drupal shines. As major revisions carry on, important functionalities that are considered standard are simply merged with core into a core module. For anything else, you can simply build your own tailored system with more third-party modules.
    This is in fact the same mechanism of Firefox; there’s a healthy ecosystem of extensions, and if some functionality that an extension provides is deemed to be worthy enough to be part of the default user experience, the extension is merged with Firefox. Session restoring is one prominent example.
    I’d also like to make one final argument about moving away from Drupal. Drupal is a very flexible system, to the point that it’s almost like a base for lego blocks; you get the core and you build anything you want. If you were to decentralize services and tie them up loosely using a unified authentication service, it is much easier to manage several customized Drupal installations than to tailor all sorts of different systems. Drupal’s not just another CMS; it’s a platform.

  8. Cute Jasmin May 2, 2008 10:34 pm Permalink

    Very interesting migration.

    Ubuntu, IBM and Yahoo run their websites on Drupal.

    You should have upgraded to Drupal 6 instead of Wordpress. It would have been easier to port.

  9. Juanzo May 7, 2008 11:08 pm Permalink

    I agree with kourge on this georges. I don’t see a clear reason to migrate from Drupal to WordPress.

    Perhaps you could elaborate a bit more to explain the reasons if you don’t mind.

  10. georges May 8, 2008 1:32 pm Permalink

    @Juanzo, I don’t know that I have much more insight to offer. Drupal has served us well, and is a robust solution with many uses. Similarly, Wordpress is a solid contender in the narrower segment of blogging. As “kourge” points out, we’ve been running an older version of Drupal (4.5) for some time now. Our configuration is less than optimal and we simply don’t have in-house competencies to take on an upgrade or to fix some of the problems we’ve been encountering. The path we chose made sense for us given our resources and needs. I encourage everyone to make their own decision based on their particular circumstances.

  11. chris Aug 2, 2008 7:59 pm Permalink

    What are you using for your Merchtable? Is this a Wordpress plugin?

  12. georges Aug 3, 2008 4:11 pm Permalink

    @chris, no plugin, hand made html.

  13. Simone Aug 4, 2008 1:40 am Permalink

    @all : I’m planning to migrate from Drupla to WP too.
    I have upgraded to D6 but I’m still missing most important modules such as akismet (still in beta) and xmlsitemaps…
    I think Drupal is a great CMS, unfortunately module developement/porting is slow, 6 months after 6.0 release most of the modules aren’t ported yet.

  14. Matt Henderson Aug 4, 2008 1:45 am Permalink

    Here’s one reason I’m planning to migrate *back* to WordPress from Drupal:

    http://drupal.org/node/272406

    Drupal, as a personal blogging system, has a long way to go, especially in the area of usability. It’s amazing to me that the platform has reached version *6* without having at a moderately useful comment moderation system. And I know, I could hack and piece things together, and get it working anyway I could possibly desire. But that’s not the point.

    For me, using WordPress feels like using Mac OS X, while using Drupal feels like using Linux.

    Here’s some additional reading:

    http://mpt.net.nz/archive/2008/08/01/free-software-usability

  15. Mike Cohen Oct 10, 2008 8:08 pm Permalink

    I’m now planning to convert a fairly large Drupal site (macmegasite.com) to WordPress. Upgrading to Drupal 6 is still not possible since a lot of the modules I use aren’t compatible. I’d rather not have to go through a major trauma with each Drupal release. With WordPress I know I’ll always be able to upgrade without breaking anything.

    The Drupal2Wordpress project doesn’t work with Drupal 5, where the content is moved out of the node table into node_revisions. I’m not familiar enough with Ruby to fix it. Instead I’m working with the SQL script from http://www.darcynorman.net/2007/05/15/how-to-migrate-from-drupal-5-to-wordpress-2/

  16. ascetic Oct 15, 2008 1:15 pm Permalink

    interesting. i have a drupal site which currenty have lots of modules installed. it will be really hard for me to convert those modules. :(

  17. Gilberto J Perera Oct 26, 2008 6:45 pm Permalink

    Anyone out there have information on Drupal 6 to WP? I’m currently trying to migrate my site over and all of the scripts and tuts I find are outdated. Any help or direction is greatly appreciated.

  18. Bronislava Nov 5, 2008 8:44 pm Permalink

    pravelno written:)

  19. Sean Bannister Nov 13, 2008 9:19 pm Permalink

    Wordpress is great for people who just want a blog but when you want to build something bigger like a full on social network Drupal is the way to go. And once you know Drupal the flexibility is much greater than Wordpress. It’s just getting past the learning curve that takes the time.

    As georges said, the reason they moved to wordpress was because in house they had the skills. After using both systems I would say it was well worth learning Drupal.

  20. bob Nov 28, 2008 2:00 am Permalink

    I see a reason to migrate. Drupal caters to developers, even in their admin. WP caters to users. Once the coding and design is done, it’s the users that have to work with the site everyday. I’d laugh if someone thinks drupal’s content/blogging administration is better than wordpress.

  21. amenodimeno Jul 31, 2009 9:53 am Permalink

    That’s good man, keep it going.

  22. amenodimeno Aug 5, 2009 3:17 pm Permalink

    Good story for me but please more details.

  23. queroeropoo Aug 6, 2009 3:18 pm Permalink

    Good information to me.

  24. medyum Aug 11, 2009 3:55 am Permalink

    Anyone out there have information on Drupal 6 to WP? I’m currently trying to migrate my site over and all of the scripts and tuts I find are outdated. Any help or direction is greatly appreciated.

  25. WordPress Templates Aug 30, 2009 10:32 pm Permalink

    Any solution from WP 2.6 (latest) to Drupal, yet? I have a blog not to complex, with text and images.