Install
Works with Drupal: ^9 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
wordpress_migrate module for importing WordPress sites into Drupal
"Alpha8" version brings bug fixes, drush + Drupal 11 coverage
The wordpress_migrate Alpha8 release includes many bug fixes and enhancements. It is intended to be the easiest solution for WordPress website operators to migrate their content into Drupal. This uses the WXR XML site export (not a direct database connection) to generate posts, tags, categories, users and comments -- no server-level access needed. Curious to throw your WordPress site in a new platform? You can try Drupal yourself using DDEV quickstart. There's never been a better time to check out alternatives to WordPress. This module was created in 2010 and this is the 19th tagged release.
New documentation: Thanks to volunteers the README.md is updated with the new drush commands.
Please see the 8.x-3.x plan for more. The #migrate chat channel is on Drupal Slack for this and similar modules. For Alpha8 we got a bunch of long-standing issues resolved in many areas:
Issues addressed in Alpha8:
- Issue #3491146 by ryumaou, HongPong: add migrate process plugin wordpress_migrate_log_term
- #3498321: Move migrate tools dependency from require-dev to require on composer
- Issue #3491146 by ryumaou, HongPong: wordpress_migrate_log_term code cleanup.
- Issue #3435726 by tolstoydotcom, dinarcon, baltowen, msielski, hongpong, ressa, xpete: wordpress_migrate updated for Drupal core 11.0 & 11.1. Refactored WordPressMigrationGenerator class, new interface & factory.
- Issue #3489999 by baltowen, HongPong. Subtle import wizard pagination error and remove "empty" statements.
- Issue #3516531 by HongPong. Body field text_with_summary select form added, migrate processing, wizard UI improvements
- Resolve #3489516 by xpete, ressa, HongPong. Add Drush 13 support. Updated Readme. WordPressMigrationGenerator: catch unset base_url, duplicate migration groups, broken file_uri. Removed NEXT_MAJOR from gitlab-ci
- Automated Project Update Bot fixes from run 11-477325. (backwards compatibility).
Known issue
- #3522658: Is it possible to avoid creating the Default migration after installation? .
drush migrate:import --allseems to jam but you can run the migrations individually.
Contributors
Active maintainer for this release was HongPong (Dan Feidt). This took a lot of work from everyone. Thanks again to ressa. Thanks to tolstoydotcom, dinarcon, baltowen, msielski, hongpong, ressa, xpete for fixes added to the Drupal 11 update. xpete and ressa for the Drush. Wendy Baltodano fixed a wizard pagination error. Thanks to ryumaou for the term logger. Thanks to Amaranto del Barrio for the migrate tools dependency issue.
Help wanted
Contributors make this module possible. We have more issues listed on the the 8.x-3.x plan. Here are a few the WordPress community may want to check out:
- Issue #3173973: Pluggable extension, support contrib + custom WordPress, Yoast SEO
- Issue #2927510: Wordpress new line to paragraph conversion. This will be adapted to the pluggable extension system.
- Issue #3490071: Implement Advanced Custom Fields (ACF / SCF) support
- Issue #3490070: Implement Custom Post Type (CPT) support
- Issue #3489714: Implement Gutenberg Block imports
- Known issue: Issue #3313145: "No database connection configured for source plugin variable". We believe this error message you may see is an issue from Drupal core.