Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

WordPress Migrate

1,370 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.

Activity

Total releases
2
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
8.x-3.0-alpha9 Pre-release Mar 18, 2026
8.x-3.0-alpha8 Pre-release Mar 12, 2026