So you just created a new website, and now you want to transfer your data from your old website to your new one. While you can easily export and import posts, comments, and pages from one WordPress site to another with the feature built into WordPress, you cannot do the same for users data. In this tutorial, you will learn how to bulk import users to WordPress.
Well, you might have guessed it. WordPress doesn’t have a feature built into transfer users from one website to another. This might not be a big hassle when you don’t have many users but if your user base is large then importing them becomes a really time-consuming task. But thankfully, here’s a plugin to the rescue.
Bulk Import Users to WordPress
Here’s a plugin named as Import users from CSV with meta that will enable you to import thousands of users with their metadata within minutes. This easy-to-use plugin allows you to create a CSV file with predefined formats and with just a few clicks, import users to WordPress website.
Here are some features of this plugin:
- Import thousands of your users directly to WordPress, using a CSV file
- Send a mail to every new user with their login credentials
- Assign a role to your users
- Automatic password generation
- You can also import meta-data from WooCommerce customers using the correct meta_keys
- Send a mail to every new user
- You can also update data of each user
- Assign a role
How to import users to your WordPress database
So without any further ado, let’s learn how to do this step-by-step.
Step 1:
Download the plugin from here and activate it.
After the plugin is activated, it will appear on your Dashboard under the Tools section. Click on Import users from CSV.
This is the main screen of the plugin.
Step 2:
Now go ahead and create a CSV file with all the user data. This CSV can have different columns for username, email, password, address, city, state, zip, country and user_url (which means the URL for user’s website).
To make things easy, the developers have also included a sample CSV file which you can download from the “Documentation” tab.
In fact, this CSV is a quick way to bulk import WordPress users. Just fill out all the details and upload it to your site.
This plugin is also useful in importing meta values. It will also automatically generate password, if you don’t have a column for password.
Step 3:
Now go to the “Import users from CSV” tab, click on Choose button and select your CSV file.
BONUS TIP: If you are bulk importing a large number of WordPress users, you should increase the WordPress memory limit to ensure a smooth process.
To increase memory limit you will need to edit the wp-config.php file and add this code:
define(‘WP_MEMORY_LIMIT’, ’64M’);
This will set your WordPress memory limit to 64M, or you can also try to increase it more to 128M, in which case you can use place this line:
define(‘WP_MEMORY_LIMIT’, ‘128M’);
This will increase your WordPress memory limit to 128M.
Conclusion
This method is probably the quickest and perhaps the easiest way to bulk upload users to WordPress. You just need to enter all the user details in the CSV and upload, that’s it!
So go ahead and import WordPress users using this method and let us know how it works for you in the comments section below.
We have a list of about 2000 names that need to be imported. They do not have email addresses, but will have a unique password that will be mailed to them. Can we use your system w/o emails or use a fake one that would go to the Email Admin’s inbox?
Yes, you can try out this method. I am not sure about email, but you can test it out.
Hey! Did it work? Please let me know! I have the same issue.