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
- Find out if logged in user is not subscriber
- User-edit role setting distinct from wp_capabilities? [closed]
- Delete all subscribers from wp_users and wp_usermeta a few thousand at a time
- Problem with Hebrew characters in username
- Allowing an email as the username?
- Get the name of user who updated post
- Disable delete user
- Send activation email to user after signup [duplicate]
- wp_update_user() does not update user_data
- How to add follow functionality to multi-author wordpress site?
- Search multiple meta keys at once
- Redirecting user after updating profile?
- How to add new custom field in default add user form through plugin
- ACF Upload Image in front-end with custom form
- Can I bulk register contributors for a new blog
- show cimy user fields in users.php with manage_users_columns
- User ability to favorite or ‘like’ content
- Users roles, make a page belonging to multiple users
- A way to count logged in users and display count?
- stop login if user_status equal zero
- Disable user profile editing for one user
- Rule to redirect non logged in User to Custom Registration/login Page in .htaccess file
- How do i make my wordpress website private?
- Remove Capabilities from WP admin for specific user role
- wordpress user roles are not working
- What is proper way to store info such as user marking a post as favorite? In post meta or user meta?
- What are some best practices for user exit strategy?
- Is there a way to identify a user in a custom REST API method? [duplicate]
- WP_User_Query – searching multiple fields
- Profile page for user roles
- Search Function on a plugin WordPress User
- Print profile details as PDF or from modal window
- Order users by user role
- Get user by meta key – WP multi site
- Change page password every day (predictable password ;) )
- Give users alternative/second avatar that is rectangle sized
- Inserting current user ID into Post for Author
- Difference between is_user_logged_in and $_session[‘uname’]
- Using get_user in wordpress with sorting
- How can I add authors in WordPress and assign them a picture?
- wp_generate_password sets password but can’t login using created password
- How to verify which WordPress user requested the API in ASP .NET Core?
- Get users meta and show to attribute
- Can I add a unique code for each user based on the location?
- Is nicename the same as nickname in WP?
- 502 Error when edit some users
- How to update a user with REST API v2 knowing only the username?
- Display recent members
- To save user info on the same page by form submiting
- Groups roles & capabilities
- Button for users to upgrade their user role + Button to show current user role!
- How do I Limit the number of pages a non-subscriber can see?
- Retrieve New user’s ID
- Restrict access to certain dashboard pages based on user id
- how to show logged in members username in wordpress content
- How to expire guest users after 1.5 hours logged in?