{"id":67,"date":"2025-05-04T22:31:25","date_gmt":"2025-05-04T14:31:25","guid":{"rendered":"http:\/\/leiziyeah.top\/?p=67"},"modified":"2025-05-05T08:23:13","modified_gmt":"2025-05-05T00:23:13","slug":"wordpress-reset-your-password","status":"publish","type":"post","link":"https:\/\/leiziyeah.top\/?p=67","title":{"rendered":"WordPress Reset your password"},"content":{"rendered":"\n<p>In WordPress, there is more than one way to reset your password. (Normally, the easiest way to reset it is through the \u201cLost your password?\u201d link on the main login page for your blog or website.)<br>However, there are certain times (especially if your email isn\u2019t working correctly) that you may have to take different steps to reset your password.<\/p>\n\n\n\n<p>Here\u2019s a list of different ways to reset a password. The method that you use depends on the type of access that you still have to your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"to-change-your-password\"><strong>To Change Your Password<\/strong><\/h2>\n\n\n\n<p>To change your password in current versions:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the Administration Screen, menu, go to Users > All Users.<\/li>\n\n\n\n<li>Click on your username in the list to edit it.<\/li>\n\n\n\n<li>In the Edit User screen, scroll down to the New Password section and click the Generate Password button.<\/li>\n\n\n\n<li>If you want to change the automatically generated password, you can overwrite it by typing a new password in the box provided. The strength box will show you how good (strong) your password is.<\/li>\n\n\n\n<li>Click the Update User button.<\/li>\n<\/ol>\n\n\n\n<p>Your new password becomes active immediately.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"through-the-automatic-emailer\"><strong>Through the automatic emailer<\/strong><\/h2>\n\n\n\n<p>If you know your username or the email account in your profile, you can use the \u201clost password\u201d feature of WordPress.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to your WordPress Login page (something like\u00a0<a href=\"https:\/\/codex.wordpress.org\/Resetting_your_password\">http:\/\/yoursite.com\/wordpress\/wp-login.php<\/a>)<\/li>\n\n\n\n<li>Click on the \u201cLost your password?\u201d link<\/li>\n\n\n\n<li>You will be taken to a page to enter some details. Enter your username or the email address on file for that account.<\/li>\n\n\n\n<li>Wait happily as your new password is emailed to you.<\/li>\n\n\n\n<li>Once you get your new password, login to your profile page and change this password to something you can\u00a0<em>remember<\/em>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"through-mysql-command-line\"><strong>Through MySQL Command Line<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Get an MD5 hash of your password.\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/www.miraclesalad.com\/webtools\/md5.php\">Visit md5 Hash Generator<\/a>, or\u2026<\/li>\n\n\n\n<li>Create a key with Python, or\u2026<\/li>\n\n\n\n<li>On Unix\/Linux:\n<ol class=\"wp-block-list\">\n<li>Create a file called wp.txt, containing nothing but the new password.<\/li>\n\n\n\n<li>tr -d \u2018\\r\\n\u2019 &lt; wp.txt | md5sum | tr -d \u2018 -\u2018<\/li>\n\n\n\n<li>rm wp.txt<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li><strong>On Mac OS X:<\/strong>\n<ol class=\"wp-block-list\">\n<li>Create a file called wp.txt, containing nothing but the new password. Then enter either of the lines below<\/li>\n\n\n\n<li>md5 -q .\/wp.txt; rm .\/wp.txt (If you want the MD5 hash printed out.)<\/li>\n\n\n\n<li>md5 -q .\/wp.txt | pbcopy; rm .\/wp.txt (If you want the MD5 hash copied to the clipboard.)<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u201cmysql -u root -p\u201d (log in to MySQL)<\/li>\n\n\n\n<li>enter your mysql password<\/li>\n\n\n\n<li>\u201cuse (name-of-database)\u201d (select WordPress database)<\/li>\n\n\n\n<li>\u201cshow tables;\u201d (you\u2019re looking for a table name with \u201cusers\u201d at the end)<\/li>\n\n\n\n<li>\u201cSELECT ID, user_login, user_pass FROM (name-of-table-you-found);\u201d (this gives you an idea of what\u2019s going on inside)<\/li>\n\n\n\n<li>\u201cUPDATE (name-of-table-you-found) SET user_pass=\u201d(MD5-string-you-made)\u201d WHERE ID = (id#-of-account-you-are-reseting-password-for);\u201d (actually changes the password)<\/li>\n\n\n\n<li>\u201cSELECT ID, user_login, user_pass FROM (name-of-table-you-found);\u201d (confirm that it was changed)<\/li>\n\n\n\n<li>(type Control-D to exit mysql client)<\/li>\n<\/ol>\n\n\n\n<p>Note: if you have a recent version of MySQL (version 5.x?) you can have MySQL compute the MD5 hash for you.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Skip step# 1 above.<\/li>\n\n\n\n<li>Do the following for step# 7 instead.\n<ul class=\"wp-block-list\">\n<li>\u201cUPDATE (name-of-table-you-found) SET user_pass = MD5(\u2018(new-password)\u2019) WHERE ID = (id#-of-account-you-are-reseting-password-for);\u201d (actually changes the password)<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p>Note that even if the passwords are salted, meaning they look like $P$BLDJMdyBwegaCLE0GeDiGtC\/mqXLzB0, you can still replace the password with an MD5 hash, and WordPress will let you log in.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><a href=\"https:\/\/wordpress.org\/documentation\/article\/reset-your-password\/\">Reset your password \u2013 Documentation \u2013 WordPress.org<\/a><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In WordPress, there is more than one way &hellip; <a href=\"https:\/\/leiziyeah.top\/?p=67\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-wpsetup"],"_links":{"self":[{"href":"https:\/\/leiziyeah.top\/index.php?rest_route=\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leiziyeah.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leiziyeah.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leiziyeah.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leiziyeah.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":1,"href":"https:\/\/leiziyeah.top\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/leiziyeah.top\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/leiziyeah.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leiziyeah.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leiziyeah.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}