{"id":2169,"date":"2008-05-19T21:47:20","date_gmt":"2008-05-19T21:47:20","guid":{"rendered":"http:\/\/www.bargh.co.uk\/blog\/?p=31"},"modified":"2008-05-19T21:47:20","modified_gmt":"2008-05-19T21:47:20","slug":"sorry-that-key-does-not-appear-to-be-valid-wordpress-error","status":"publish","type":"post","link":"https:\/\/bargh.co.uk\/blog\/sorry-that-key-does-not-appear-to-be-valid-wordpress-error\/","title":{"rendered":"Sorry, that key does not appear to be valid &#8211; WordPress error"},"content":{"rendered":"<p>If you get this error when requesting a new password it looks like you won&#8217;t be the only one. I wasn&#8217;t!<br \/>\nSo I upgraded to WordPress 2.5.1 and then deleted my cache which lost my password that I didn&#8217;t write down. So usual simple thing request a new one&#8230;only this time the system didn&#8217;t work. The email arrived with the message:<\/p>\n<p><em>To reset your password visit the following address, otherwise just ignore this email and nothing will happen.<\/em><\/p>\n<p>I clicked the link and got the <em>Sorry, that key does not appear to be valid <\/em>message.<\/p>\n<p>Thankfully there is a solution that I found on doing a search using Google. It&#8217;s in the WordPress forums and asks you to: <em>Download the ZIP file with those two changed files here:<br \/>\n<a rel=\"nofollow\" href=\"http:\/\/trac.wordpress.org\/changeset\/7837?format=zip&amp;new=7837\">http:\/\/trac.wordpress.org\/changeset\/7837?format=zip&amp;new=7837<\/a><br \/>\nUnzip it using WinZIP or something, then upload those two changed files to your site.<br \/>\nThere is one change to make to the code<\/em><\/p>\n<blockquote><p>Just above that code it gives in wp-login.php is a line that read like this:<br \/>\n<code>if ( empty($key) ) {<\/code><\/p>\n<p>Try changing it to this:<br \/>\n<code>if ( empty($key) || preg_match('\/[^a-z0-9]\/i',$key) != 0) {<\/code><\/p><\/blockquote>\n<pre>Check out the full thread <a href=\"http:\/\/wordpress.org\/support\/topic\/172820\" target=\"_blank\">here<\/a><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you get this error when requesting a new password it looks like you won&#8217;t be the only one. I wasn&#8217;t! So I upgraded to WordPress 2.5.1 and then deleted my cache which lost my password that I didn&#8217;t write down. So usual simple thing request a new one&#8230;only this time the system didn&#8217;t work. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1296],"tags":[1766,2305],"class_list":["post-2169","post","type-post","status-publish","format-standard","hentry","category-helping-hand","tag-key","tag-wordpress-error-password"],"_links":{"self":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2169"}],"version-history":[{"count":0,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2169\/revisions"}],"wp:attachment":[{"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bargh.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}