Create WordPress Admin from cPanel or MySQL or phpMyAdmin
Sometimes we need to create admin user from hosting or cPanel. In that case, simply adding any user in
wp_users
won't work even if we put proper password "Salted Hash
". It will surely log you in but you won't be able to see the Dashboard, To activate this superpower you will have to edit wp_capabilities
from "wp_usermeta
" and the value will be "a:1:{s:13:"administrator";b:1;}
".
Comments
Post a Comment