Sorry, that key does not appear to be valid
Yesterday, while working on one of my wordpress blogs, I forgot the password and was trying to reset it. But every time I used to click on the reset password link from the email, I used to get this error “Sorry that key does not appear to be valid”. I had the option of resetting the password through phpmyadmin. But I was looking for a quick fix and after some searching I found the easy solution and it did work for me.
If you can’t login to the blog, but have access to your wordpress site/blog via FTP, then edit the theme’s (theme used for your blog) functions.php file and add this code to it, right at the top after the first <?php bit: wp_set_password(’password’,1);
Put your own new password for the main admin user. The “1″ is the user ID number in the wp_users table. After you login, make sure to go back and remove that code. Once you login to the blog, you have access to your blog, set a new password through the Admin interface and then delete the added code.
This worked for me and you can try this easy solution if you run into the same error “Sorry,that key does not appear to be valid” for your wordpress blog password reset problem.
One Comment
- James replied:
That will work for the admin or someone with access to your FTP, but would the regular users do when the get that ugly error?
September 4th, 2009 at 8:58 pm. Permalink.









