Share Article To
There is an easy way to reset your password through FTP, if you’re an Admin user.

1. Login to your site through FTP and download your active theme’s functions.php file.

2. Edit the file and add below code to it, right at the beginning, after the first <?php:

    wp_set_password(‘provide-password’,’user-ID’);

    provide-password: replace by new password you want.
    user-ID: provide user’s numerical ID.

3. Upload the modified file back to your site.

4. Now user having above ID can login with new password.

5. Make sure to go back and remove that code.
    Otherwise it will reset your password on every page load until you remove it.

Leave a Reply

Your email address will not be published. Required fields are marked *