Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
WordPress Migrate is now Drupal 9 compatible!
It can import media assets into Drupal too
wordpress_migrate has existed since 2010 and with release 8.x-3.0-alpha4 it can now run on Drupal 8 and 9. Use this module with the 'migrate' framework to import WordPress XML files. The Readme has been updated with the latest information
The primary Drupal community maintainer during this release was HongPong (Dan Feidt). Thank you to everyone below who helped with troubleshooting, contributed patches and tested them.
Note that imported image assets will not automatically have paths changed from the old host although post thumbnails (featured images) are imported correctly into Drupal image fields. For more information see #2742269: Implement file/attachment migration for Drupal 8, and #2742279: Rewrite local link/image references in content, switch image content domains and #2742275: Properly identify alt text for images.
We are looking for assistance with updating Drush 9/10 support: #2955644: Implement WordPress Migrate with Drush 9/10
Please see the planning issue for more tasks: #2904990: Plan for wordpress_migrate 8.x-3.x beta release
- Issue #3064539 by DamienMcKenna, splash112: Update 'migration' plugin to 'migration_lookup'
- Issue #3127843 by Suresh Prabhu Parkala: Drupal 9 readiness
- Issue #3131928 by HongPong: composer.json fix, composer.json add ctools, Create composer.json for CI
- Issue #3131948 by Sahana _N, HongPong: Replace deprecated functions: file_upload_max_size and drupal_set_message
- Issue #3072109 by vuil: t() calls should be avoided in classes, use dependency injection and $this->t() instead
- Issue #3132333 by Suresh Prabhu Parkala, HongPong, Issue #3136064 by ankithashetty: Coding standards / documenting exceptions,
- Issue #3136063 by ankithashetty, HongPong: \Drupal calls should be avoided in classes, use dependency injection instead
- Issue #2742269 by HongPong, e.ruiter, mikeryan, DamienMcKenna, caspervoogt, anruether: Implement file/attachment migration from WordPress for Drupal 8, Readme updated
- Issue #2904990 by HongPong: Fix module name displayed on info yml for wordpress_migrate 8.x-3.x