Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #641
    dan
    Participant

    What to do when you lost your admin info in WordPress?

    I still have access to CPanel.

    #642

    If you lost your admin info but you still have access to your CPANEL, this is what you have to do

    (1) Go to phpmyadmin and select the database for your website
    (2) Change password. Remember wordpress still use md5 hash. Find the user admin.

    UPDATE wp_users SET user_pass = MD5(‘newpassword’) WHERE user_login = ‘admin’;

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.