Wordpress forgets the background login password and how to retrieve the password

Source: Internet
Author: User
Tags md5 php file phpmyadmin wordpress login wordpress login page

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.

This is the same as the steps for all Wordpress users to retrieve their passwords. The other four methods we will introduce below are that you may not change the admin account's email address, and you will not be able to accept the password.

Run the Mysql statement to modify the Wordpress password.
Use tools such as Phpmyadmin to log on to your database management and execute the following statement:

"Update user set password = password (" new password ") where user =" username ";"

To update your Wordpress password.

Use the php file to change the Wordpress password
Create a new pwd. Php file and add the following to it:

Echo md5 ("your password ");

Upload to the root directory of the host and add

Http: // your domain name/pwd. php, and then connect to your database for execution.

Update wp_users set user_pass = "string displayed when executing pwd. php"

Where user_login = "admin ";

OK. Now you can use your own password to enter the administrator account.

Retrieve the Wordpress password by modifying the MD5 value
Log onto phpmyadmin, select database table: wp_users, find your username, and modify a string of letters and numbers in user_pass. The MD5 password is: "5d41402abc4b2a76b9719d911017c592 & Prime;
Return to the WordPress login page and log on with the password "hello.

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.