What's new

Closed Manually add an user in WordPress via database even without email

Status
Not open for further replies.

Ko Munyeong

Forum Guru
Elite
Joined
Dec 3, 2014
Posts
2,870
Solutions
4
Reaction
2,509
Points
1,056
I've been searching for days kung paano mag add ng user sa wordpress ng walang email.
Sad but it's required, but I've found a solution

Before everything else, backup your DB
and
Create a hash of the password using this tool here
You do not have permission to view the full content of this post. Log in or register now.
1583829093006.png


Enter other details such as user_login user_nicename display_name
Copy the hashed data and paste to user_pass
1583829350078.png




After that go to wp_usermeta table
click ulit yung insert sa taas
  • user_id — Same ID kanina (1234) sa example ko
  • meta_keywp_capabilities
  • meta_valuea:1:{s:13:"administrator";b:1;} [kung administrator] o a:1:{s:6:"editor";b:1;} [kung editor]
tapos try niyo na mag log in
kung iba yung prefix ng table niyo (not wp_ which is default) palitan niyo na lang. Tulad yung sa meta_key palitan niyo ng kung anong prefix ng table niyo
 

Attachments

Last edited:
Status
Not open for further replies.
Back
Top