最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

security - Can't reset WordPress password

programmeradmin2浏览0评论

I haven't logged onto my blog for years, and have, of course, forgotten the password. I click the 'Forgot' button and get a mail with a link, but that mail already says

Sorry, that key does not appear to be valid.

And sends me round the click to reset, receive a mail, click the link again etc. As if the timeout for password resets has been set to 0.5s or something.

This is a shared hosted blog, so I have full access to cPanel and all of the WP files via FTP, if that helps anything.

I haven't logged onto my blog for years, and have, of course, forgotten the password. I click the 'Forgot' button and get a mail with a link, but that mail already says

Sorry, that key does not appear to be valid.

And sends me round the click to reset, receive a mail, click the link again etc. As if the timeout for password resets has been set to 0.5s or something.

This is a shared hosted blog, so I have full access to cPanel and all of the WP files via FTP, if that helps anything.

Share Improve this question asked Aug 11, 2015 at 15:48 ProfKProfK 1722 gold badges3 silver badges17 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

If you have access to the PHPMyAdmin login and access:

  1. The wp_users table from the list of tables.
  2. Then locate your username under the user_login column and click edit.
  3. The user_pass is a long list of numbers and letters which is the MD5 hash encrypted version of your password.
  4. Select and delete the hash and type in your new password (it is case sensitive!).
  5. Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
  6. Save the changes and attempt to login.

Since it sounds like your site is very old I would recommend updating the themes and plugins as needed.

发布评论

评论列表(0)

  1. 暂无评论