Easy method to reset wordpress admin password

an easy way to reset wordpress admin password via FTP

follow this steps:

1 – Login to your site via FTP

2 – download your active theme’s functions.php file

3 – Edit the file and add this code to it, after the first <?php:

“1” is the user ID number in the wp_users table, and ‘password’ is your new password

4 – save and Upload the file back to your site.

5 – load your website via browser then go back to the file and remove the line that you added

 

Leave a Reply