{"id":8537,"date":"2020-02-23T10:47:11","date_gmt":"2020-02-23T08:47:11","guid":{"rendered":"https:\/\/vipestudio.com\/?p=8537"},"modified":"2020-03-14T19:46:34","modified_gmt":"2020-03-14T17:46:34","slug":"reset-wordpress-admin-password","status":"publish","type":"post","link":"https:\/\/vipestudio.com\/en\/reset-wordpress-admin-password\/","title":{"rendered":"Reset WordPress Admin Password"},"content":{"rendered":"<p style=\"text-align: left;\">Ever got the case where you were left out of your admin area? If you have, then in this article we will show you a few fast ways in which you can reset your password and login again.<\/p>\n<p style=\"text-align: left;\">So if you have forgotten your password the first and most popular way will be to follow the WordPress password recovery link at the login page. Once you click it you will receive an email and there will be a link that you can follow and you should be able to reset the password.<\/p>\n<h2>Reset WordPress Admin Password with wp-cli.phar<\/h2>\n<p style=\"text-align: left;\">Probably the fastest way to do it is via the WP-CLI, the WordPress Command Line Interface. If you have access to a terminal you can then login and then go to the document root folder of the website and just execute the following command:<\/p>\n<p style=\"text-align: left;\"><code>wp user reset-password [user]<\/code><\/p>\n<p style=\"text-align: left;\">You can even reset the password for more than one user. Just add the username at the end like this;<\/p>\n<p style=\"text-align: left;\"><code>wp user reset-password<\/code><\/p>\n<p style=\"text-align: left;\">And you can also add the following after the usernames so you do not receive an email for the passwords change:<\/p>\n<p style=\"text-align: left;\"><code>wp user reset-password [user] --skip-email<\/code><\/p>\n<p style=\"text-align: left;\">As you can see with just one simple command you easily reset passwords so our recommendation is to consider using WP-CLI as it is a great utility and invaluable help to all WordPress developers and users.<\/p>\n<h2>Reset the password via phpMyAdmin<\/h2>\n<p style=\"text-align: left;\">Yet another way to do it is via the phMyAdmin interface. As you know WordPress is a CMS that needs to have a database and in this database, important information is stored. One such information is the users that are registered, their roles( are they administrators or regular users) and their hashed password. Having said this if you have access to the database and phpMyAdmin then you will be able to reset your password. you can follow these steps:<\/p>\n<p style=\"text-align: left;\">\u2013 Go to your phpMyAdmin<\/p>\n<p style=\"text-align: left;\">\u2013 At the left click on the correct database for the site that you would want to reset the password for<\/p>\n<p style=\"text-align: left;\">\u2013 Then go to the Query field and just paste the following command:<\/p>\n<p style=\"text-align: left;\"><code>UPDATE `wp_user` SET `user_pass`=MD5('new_password') WHERE `wp_users`,`user_login`=\"admin_username\"<\/code><\/p>\n<p style=\"text-align: left;\">Where you will just need to replace \u201cnew_password\u201d with your new pass and replace the \u201cadmin_username\u201d with your exact username.<\/p>\n<p style=\"text-align: left;\">\u2013 Then just hit Go and you should be fine<\/p>\n<p style=\"text-align: left;\">A bit more slow way of the above is one you open phpMyAdmin then:<\/p>\n<p style=\"text-align: left;\">\u2013 Go to the correct database<\/p>\n<p style=\"text-align: left;\">\u2013 Go to the wp_users table<\/p>\n<p style=\"text-align: left;\">\u2013 On the user field that you want to change pass, you can click Edit then you will be presented with fields that you can change end edit. You need to look for the user_pass field<\/p>\n<p style=\"text-align: left;\">\u2013 once you replace the password you will then need to use the drop-down menu next to the Varchar and you need to make sure that you choose MD5<\/p>\n<p style=\"text-align: left;\">\u2013 and then you just hit Go at the bottom right<\/p>\n<p style=\"text-align: left;\">\u2013 and that\u2019s it, you should be fine<\/p>\n<p style=\"text-align: left;\">And these are the ways that you can use if you find yourself locked out or you have forgotten your password. We hope this helps but if you are struggling and you are not sure how to go ahead then you may contact a WordPress professional or get in touch with your WordPress hosting support as they sold also be able to help you further.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever got the case where you were left out of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8591,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[142],"tags":[],"class_list":["post-8537","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-common-issues"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/posts\/8537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/comments?post=8537"}],"version-history":[{"count":0,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/posts\/8537\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/media\/8591"}],"wp:attachment":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/media?parent=8537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/categories?post=8537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/tags?post=8537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}