How to change wordpress admin password by using FTP

Step-1 : Login to FTP by using FTP login details

Step-2 : Download your active theme functions.php file

Step-3 : Edit the functions.php file by adding below line after the first line <?php

wp_set_password( ‘username’,password);

Replace username of your wordpress username and password which you want to use to login your wordpress admin page

Step-4 : Once edited the functions.php file and updated the edited file to required path

Step-5 : Now,you can use the modified password of your wordpress admin username

Step-6 : Once logged in your wordpress admin page,Change the admin password and remove that updated code. It will reset your password on every page load until you do.'About Tutor

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

You must be logged in to post a comment.