You can use wp_insert_user
. Since your old database has passwords in base64, you can easily get the original password string using base64_decode
.
$new_user_data = array(
'user_pass' => 'password',//pass your decoded password string
'user_login' => 'username',//pass your username
'user_email' => 'email',
'first_name' => 'firstname',
'last_name' => 'lastname',
'role' => 'author'//if you want to specify a different role other than default one
);
wp_insert_user( $new_user_data );
You need to format your old data in csv or xml or text file and read and pass them accordingly. And don’t try to import all 15000 users at once. Do this in several parts. Also sleep()
function will be quiet good to give the server some rest.
Related Posts:
- how to use joomla password format in wordpress?
- Replacing the WordPress password validation
- How to let user set password on registration
- Best way to send users password?
- Importing users? From another wordpress site
- Setting WP Admin passwords to expire
- Migrating users from .com to .org?
- Authenticate user using Hashed Password in MySQL Query and C#
- Is it possible to get a user with just the password field?
- Cannot set user passwords
- How can I allow password reset based on logins containing the @ character?
- Show MD5 Password in user section
- Does WordPress Importer notify imported Users?
- Force user to change their password on first log in of site using shortcode
- Force user to change their password on the frontend at the first login and password policy
- Can i add password field into my wp registration form?
- Reset Password policy
- How do I transfer user passwords from one WordPress site to another?
- How do I protect user_activation_key?
- Move users and passwords from one wordpress site to another
- Will wordpress tools import do everything I need to copy one site to another
- OAuth 2 and saving the authenticated user
- WordPress Password security related questions
- REST API: wp_get_current_user not working on second call
- Send clear password via mail
- How can i login with user’s password in WordPress being an admin?
- Force users to use password with specifications
- Import users once a day without a plugin
- Making WordPress available while logged into another website
- Unexpected problems after importing WP data
- Allow Weak Passwords
- Custom Password Reset
- Send user auto generated password on different email
- change user password REST API
- Moving users from joomla to wordpress
- wordpress Account Management generate password missing on my laptop
- WP users cant reset password
- Check for empty username or password on login
- Users set passwords but cannot login
- Error when send reset password
- WordPress C# User Login
- What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker
- Set a minimal number for next user_id
- application password is missing
- TYPO3 to WordPress Migration (Users)
- WordPress user password reset not working
- Importing users from Single WordPress site to a Multisite
- If the current user is an administrator or editor
- Editor can create any new user except administrator
- How do I add a field on the Users profile? For example, country, age etc
- How do I display logged-in username IF logged-in?
- How to allow an user role to create a new user under a role which lower than his level only?
- user_login vs. user_nicename
- How to programatically change username (user_login)?
- Change the Author Slug from Username to Nickname
- Remove Ability for Other Users to View Administrator in User List?
- Difference between update_user_meta and update_user_option
- Make display name unique
- Make WooCommerce pages accessible for logged in users only
- Find out if logged in user is not subscriber
- WordPress usermeta scaling for thousands of users
- How to get WordPress Username in Array format
- Display user registration date
- Get multiple roles with get_users
- get_user_meta() doesn’t include user email?
- Confirmation required on email change
- How to Merge Two Authors Into One?
- Whats the best way to share user data across multiple WordPress websites?
- get_current_user_id() returns 0?
- How to get userid at wp_logout action hook?
- Groups of capabilities: users with multiple roles?
- Is there a way to merge two users?
- User-edit role setting distinct from wp_capabilities? [closed]
- List users by last name in WP_User_Query
- What’s the difference between the capability remove_users and delete_users?
- How to restrict access to uploaded files?
- Automatically delete inactive users after 2 months
- How to change user_login with wp-cli?
- Delete all subscribers from wp_users and wp_usermeta a few thousand at a time
- Email user when password is reset by admin
- Ban a user and end their session
- Allowing users to edit only their page and nobody else’s
- How can 2 blogs share the same users
- alphabetically order role drop-down selection in dashboard
- WordPress auto login after registration not working
- Change the author slug from nickname to ID
- Execute a function when admin changes the user role
- How to let contributors to create a new revision(draft) editing their published posts
- How to do get_users() with multiple meta_keys
- Disallowing Users of a Custom Role from Deleting or Adding Administrators?
- What the user_status column?
- How to limit users to one comment per post
- Different back-end language for different users?
- Hide Admin Menu for Specific User ID who has administrator Role
- Migrating WordPress users into Disqus
- Problem with Hebrew characters in username
- Is there an upper limit for users in WP?
- How to display the status of users (online – offline) in archive.php
- Remove email verification when new user register
- How to change user`s avatar?