Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Recover my WordPress Password Through FTP

Apr 5, 2012 by biba23
Hi guys,

how can I recover my wordpress password through FTP?

thanks

1 Answer

0 votes
Apr 5, 2012 by expert
Connect to your website via FTP, go to wp-content/themes/Your Theme. Replace ‘your theme’ Edit your currently active theme’s functions.php file, if you don’t have one in your theme create it. Add this line:
wp_set_password('NewPassword', user_ID);
Upload the file back to your server. Now login using the password you added in functions.php.