How to Migrate WordPress Users from One WordPress Site to Another

On the export site, go to WP All Export › New Export and select users from the dropdown list. Download the bundle file. On the import site, go to WP All Import › New Import and upload that bundle file to import your WordPress users.

This documentation covers how to migrate WordPress users using WP All Import and WP All Export. For a broader look at migrating WordPress users, check out:

Step 1: Create Export Bundle to Migrate WordPress Users

On the export site, go to All Export › New Export and choose to export Users.

WP All Export will show how many users will be exported. If needed, use Add Filtering Options to limit the users migrated in this step.

Once done, click on Migrate Users to continue.

Migrate WordPress Users New Export

In the next screen, you can add Scheduling Options if you need to run this export regularly. You can also configure Advanced Options such as exporting users only once or creating a new export file every time that the export is run.

Click on Confirm & Run Export to execute the export.

Once the export is complete, click the Bundle blue button to download a zip file containing your exported WordPress Users and a settings file to configure the import:

Migrate WordPress Users Export Bundle

Step 2: Understanding WordPress Users Migration

With the bundle file, you'll obtain a compressed ZIP file with both the exported users and a settings file for WP All Import.

By using this bundle file, the import settings will be automatically configured when you import these users into a new/different site.

If you don't use the bundle file and instead download the CSV or XML file, you will need to map your import settings when importing the users.

To learn more about keeping the same user IDs when performing this migration, please review the Advanced Topics section below.

Step 3: Import WordPress Users Bundle

On the import site, go to All Import › New Import and upload the bundle zip file that you exported with the WordPress users.

In this screen, click Continue to Step 2 if you wish to modify the import template and settings.

Otherwise, click on Skip to Step 4 to let the bundle file take care of the import mappings for you.

Migrate WordPress Users New Import with Bundle

In the next screen, all import fields and settings will be automatically mapped for you. However, you can modify the default settings if required.

Migrate WordPress Users Import Settings

By default, the Block email notifications during import setting will be enabled, thus preventing any email notifications from being sent to the imported users. Disable this checkbox if you want WordPress to send regular email notifications.

You can also define Scheduling Options to schedule this import regularly, and Configure Advanced Settings such as only importing specific user records or modifying the number of records imported per iteration.

To finish the import process, click Continue and then click Confirm & Run Import on the next screen.

Once the import finishes, the migration has been successful and all users will appear on the new site.

Step 4: Verify That Your WordPress Users Migration Worked

After the WordPress users migration is complete, go to Users › All Users on the import site to browse and verify that all the users were imported correctly. You should see something like this:

Migrate WordPress Users Review Imported Users

If the migration did not go as expected, it could be either due to the export or the import site. The best practices are as follows:

First, review the export site:

  1. On the export site, check that you followed the directions from Step 1 correctly.
  2. Fix whatever problem you find.
  3. Repeat the migration.

However, If there's no clear issue with the export site, you can also review the import site:

  1. Verify that you followed the directions from Step 3 correctly.
  2. Verify the import template using Manage Imports › Edit.
  3. Fix whatever problems you find.
  4. If needed, delete any users imported in error by using Manage Imports › Delete.
  5. Repeat the migration.

If repeating the migration doesn't help, you can also erase everything and then re-start the migration from scratch.

Migrate WordPress Users Advanced Topics

Keep the same IDs when Migrating Users

When you migrate WordPress users from one site to another, each user is treated as a new record and assigned a new ID during the import process.

It's possible to change this behavior and keep the old ID by using custom code and our API. Please see Keep old IDs when migrating users or customers. This is only an attempt and if the ID is already used, a new user ID will be generated instead.

Scheduling A WordPress Users Migration

With WP All Export and WP All Import, you can set up both the export and the import process to occur regularly at a scheduled time. Since you're scheduling the whole migration, you should set it up so that the export finishes before the import starts. The following scheduling options are available:

To schedule this migration, instead of uploading the Bundle file, you should use the Bundle URL:

That Bundle URL is used in the Download a file › From URL option. See:

Difference Between WordPress Users and WooCommerce Customers

The main difference is that WordPress users haven't made a purchase on your site using WooCommerce.

Once a user makes a purchase on your site, WooCommerce assigns the role customer to that user along with a set of WooCommerce-specific data such as billing and shipping address custom fields. This means that all customers are migrated when migrating WordPress users because a customer is a type of user.

If you want to migrate WordPress users without migrating customers, you need to add an export filter to only export users when their User Role doesn't equal customer:

Migrate WordPress Users without Customers

Frequently Asked Questions

What Happens With Passwords in a WordPress User Migration?

If you follow the instructions from this guide, the user passwords will remain the same. When migrating WordPress users, WP All Export uses a hashed version of the password so that it remains secure. To learn more, see Understanding WordPress User Passwords.

If you need to perform changes to all the user passwords from the same site, you may want to look into the bulk editing process described in one of the questions/answers below.

Can I Migrate All WordPress User Data, Even Custom Fields Added by Other Plugins?

Yes. WP All Export and WP All Import both recognize the custom data fields added by most plugins and extensions. If the plugin stores its data in a non-standard way, this can be a bit more difficult, but our support staff will be glad to help.

How to Migrate WooCommerce Customers?

The process is essentially the same as migrating WordPress users. You just choose an export post type of WooCommerce Customers instead of Users. This makes sense when you consider that WooCommerce customers are, in fact, WordPress users.

How to Bulk Edit WordPress Users?

The main focus of this guide is on migrating WordPress users from one site to a different one. However, if you're looking to perform specific changes to the WordPress users contained on the same site, you can use the bulk edit process, which allows you to modify the information from all user records in bulk.

Here is the basic process:

  1. Export the users that you want to modify.
  2. Open the exported file in a spreadsheet such as Numbers, Microsoft Excel, or Google Sheets (where it's easy to perform bulk changes using copy and paste, search-and-replace functions, etc.)
  3. Once you've made the changes to the export file, re-import it back into WordPress.

For more information on how to do this, see our bulk editing overview.

How to Export WordPress Users?

  1. Navigate to All Export › New Export and select Users as the export post type.
  2. Use our Drag & Drop interface to configure your export columns.
  3. Run the export.
  4. Download your export file.

How to Import WordPress Users?

  1. Go to All Import > New Import.
  2. Select the method for loading your data (i.e. upload file, use a URL, etc.).
  3. Choose your import file and your import target (i.e. Users).
  4. Map incoming data elements to your WordPress user fields using our Drag & Drop interface.
  5. Run the import.

Export WordPress Users using WP All Export.

Import WordPress Users using WP All Import.

Export WooCommerce Customers using WP All Export.

Execute custom code to modify import user data on the fly.

Lifetime support. Lifetime updates. Pay once.

Packages
Standalone
Import
Pro Package
$249
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Pro Package
$299
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
WooCommerce Import Package
$149
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import Standalone
$99
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Standalone
$169
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Export Standalone
$99
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
cross