How can I retrieve my Wordpress password after I forget it?

Source: Internet
Author: User
Tags md5 administrator password phpmyadmin wordpress login wordpress login page

1. Wordpress built-in password retrieval method

If the email address of your admin account is correct, click "forgot password" on the WordPress logon page based on the common password retrieval steps ?" Enter the admin or email address. Then, you will receive a password restart email and click the restart link in it. You will receive an email containing the user name and password later. However, if your VM does not support the mail () function, you can use the following methods to retrieve the WordPress password.

2. Execute the Mysql statement to change the Wordpress password.

Use tools such as Phpmyadmin to log on to your database and run the following statement: "update user set password = password ('New password') where user = 'username '; "to update your WordPress password.

3. Use the PHP file to change the WordPress password

Create a pwd. php file, and add: echo md5 ('your password') to it; Upload it to the root directory of the host and execute http: // your domain name/pwd. php, then connect to your database and execute update wp_users set user_pass = 'to execute pwd. the php string 'Where user_login = 'admin'; OK. Now you can use your own password to enter the administrator account.

4. Change the MD5 value to retrieve the WordPress password.

Log on to the phpMyAdmin background, select the database where WordPress is located, click the wp_users option, select browse option on the right-edit user_login to go to the editing page, and change the password to "5d41402abc4b2a76b9719d911017c592 ", return to the Wordpress login page and log on with the password "hello.

5. Use the password-resetter file

Click here to download the password-resetter.zip, unzip it, upload the password-resetter.php file to the WordPress root directory, run http: // your domain name/password-resetter.php, at Set admin password: enter the administrator password you want to reset! Click submit to query the content. Remember to delete the password-resetter.php file after resetting the password!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.