Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

WordPress Migrate

1,346 sites Security covered
View on drupal.org

This module allows you to migrate content from WordPress exports (WXR format) into Drupal. It supports importing posts, pages, comments, attachments, tags, and categories, with complete rollback capabilities. The module leverages Drupal's core Migrate API for this process.

wordpress_migrate supports migrating WordPress blog exports (WXR format) into Drupal using the Migrate module / API, which is now in Drupal core. Import of WordPress posts, pages, comments, attachments, tags and categories is supported. Imports can be rolled back completely.

Now Drupal 10.5 + 11 compatible!

See the documentation landing page and FAQ. New to Drupal? Check out WordPress and Drupal terminology and concepts, and how to generate WordPress test content to test migrations.

The Drupal 10/11 version now released (alpha 9) on the 8.x-3.x branch with Drush 13.x CLI support (analogous to WP-CLI in WordPress world). See the Readme for new Drush commands.

Dependencies

We are now at PHP8.2 and Drupal 10.5+ or Drupal 11 (to match migrate_plus). Version 8.x-3.x requires pathauto, migrate_tools (6.x preferred), migrate_plus (6.0.9+ required) and ctools (3.4+ or 4.0+). Drush 13 is now added.

Acknowledgements

Original wordpress_migrate development on Drupal 7 was sponsored by Acquia. Development during 2017-2019 was sponsored by kor group.

Earlier versions

For Drupal 11 see: #3435726 and #2904990: Plan for wordpress_migrate 8.x-3.x beta release for major issues.

Drupal 9 support was added in alpha4 and Drupal 10 compatible with alpha6. Alpha8 is the last version supporting Drupal 9.x, 10.0.x, and 10.1.x. Going into Alpha 9, we will only support Drupal 10.2.x+ and Drupal 11.

The Drupal 7 & 8 versions are not being actively developed - the current focus is on D9-11. Docs for Drupal 7 version here.

In older versions drush 8 is recommended to run the migration. Version 7.x-2.4 requires Migrate 2.7 or later. Migrate Extras is recommended if you have Pathauto installed and enabled and required if you have Media installed and enabled.

Similar projects

The new wordpress_migrate_recipe offers Drupal recipe support which is based on this module - a kind of starter kit.

WordPress Migrate SQL: Enables customized migrations based on Wordpress SQL sites, allowing migration of complex WordPress sites, using a SQL source. wp_migrate is another module which is compatible with up to Drupal 9.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Nov 2024
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
8.x-3.0-alpha9 Pre-release 10–11 Mar 18, 2026
8.x-3.0-alpha8 Pre-release 9–11 Mar 12, 2026
8.x-3.0-alpha7 Pre-release 9–10 Nov 27, 2024