WordPress cannot be logged on to the background. The following error occurs: wp-admin/& reauth = 1.

Source: Internet
Author: User
Tags ftp php file wordpress blog


Just now, a customer's WordPress blog forgot his password, so he changed the password through FTP. However, after entering the correct username and password in the background, he still cannot log on, the logon address is % 2Fwp-admin % 2F & reauth = 1.
Example: h/wp-login.php? Redirect_to = http % 3A % 2F % 2Fwww.fengzx.com % 2 Fblog % 2Fwp-admin % 2F & reauth = 1


Google Baidu had not found a solution for a long time, but later remembered that when the password was changed through FTP, the modified topic functions. php file did not delete the code for changing the password:

The code is as follows: Copy code

Wp_set_password ('password', 1 );

After this code is deleted, you can log on to the background.

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.