Another way to reset the password for a WordPress user account.

Posted: March 31, 2014. At: 5:51 PM. This was 4 years ago. Post ID: 7105
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

http://codex.wordpress.org/User:MichaelH/Orphaned_Plugins_needing_Adoption/Emergency. This PHP script when run on a web server will allow a web master to reset the Administrator password for a WordPress installation. This is another good way to reset the password if you forget it. If you have access to the MySQL command-line you may also use that to reset the password. The MySQL query below will allow you to change the password.

UPDATE wp_users SET user_pass = MD5('Password1') WHERE ID = 1;

Just execute this and the password will be reset. Then you may login as normal.

No comments have been made. Use this form to start the conversation :)

Leave a Reply