5 Best Ways to Reset WordPress Password
WordPress is the most secure CMS(Content Management System) if you can manage. There are several ways to secure it, but one of the most important thing is “WordPress Security Plugins“ . As everyone set their password easy way and there are some different ways to set the password. In normal circumstances, you can do it through the WordPress interface. If you forget your password, WordPress has a built in recovery mechanism that uses email. You can reset WordPress password.
But on some hosts mainly free hosting or cheap hosts, especially when email isn’t working right, sometimes you have to take different steps to reset WordPress password.
So here is the best 5 working ways to reset WordPress password. Any one of them will work, and you only need one to succeed. Which method you will use depends on what type of access you still have to your website.
Reset WordPress Password from Admin Panel :
Its the easiest method to reset your password from admin panel, but you need to be logged in. So follow the steps:
- From your dashboard go to Users.
- Click on Username or Admin name from the list to Edit.
- In the Edit User screen, scroll down to Account management and click generate password. After clicking on generate password, it will show you a regenerated password. You can set your password and confirm use of weak password.
- Click the UPDATE PROFILE button.
This way you can change your WordPress password within seconds.
Through the automatic emailer:
Its the default process to reset WordPress password through e-mail system. If you know your username or email in your account, you can use lost password from login menu.
- First go to login menu or something like that “http://yoursite.com/wordpress/wp-login.php” .
- Click on Lost password link and then you have to put your username or email to confirm.
- Then if your given details is right, it will send you an email with reset password link or you will receive a new password.
- Once you get your new password, login and change it to something you can remember.
On some hosts, email function doesn’t work. So you have to choose other method. But through phpMyAdmin you can reset WordPress password. But it is kind of risk, if you do something wrong, maybe your site will go down. So carefully follow this steps.
- You need to access to phpMyadmin to do this. If you are using cPanel then you can access from databases. Then select the database that WordPress using and go to phpMyadmin.
- Now you will see some table and column. Now look for “wp_users” in the Table column and click on the icon for browse.
- Locate your Username under user_login.
- Your user_id will be shown, click on Edit.
- Next to the user_pass is a long list of numbers and letters.
- Now you will see password option “user_pass” and write your password in Value column, remember case is sensitive.
- Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
- Click the ‘Go’ button to the bottom right.
- Now test the new password on the login screen. If it doesn’t work, check that you’ve followed these instructions exactly.
Through WP CLI:
WP CLI is a command line tool for managing your WordPress installation. But you need SSH client to do this.
- First move into the /wordpress directory and type $ wp user list
- Find the ID of the user you’d like to update.
- Then, update the user $ wp user update user id –user_pass=$UP3RstrongP4$$w0rd
If you unable to do above steps, then do this. It is also an easy way to reset WordPress password via FTP, if you’re using the admin user. If you don’t have this ftp software yet, download FileZilla
- Login to your site via FTP.
- Go to wp-content and then theme, choose the theme that you are using in your site and active too.
- Download the functions.php file.
- Edit the file and add this code to it, right at the beginning, after the first <?php: ==> wp_set_password( ‘your password’, user id );
- Upload the modified file back to your site using FTP.
- After you are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do.