Library Technology - Reviews, Tips, Giveaways, Freeware

Library Technology – Reviews, Tips, Giveaways, Freeware

How to reset WordPress administrator password by FPT?

Posted In Webmaster, Wordpress tips - By Techtiplib on Monday, December 23rd, 2013 With No Comments »

If you lost WordPress administrator password, or you cannot log in to the WordPress dashboard, do not have access to the MySQL database, or the function reset password does not work, so how do you do?


In this article I will show you how to change the WordPress administrator password by using FTP (of course you must have a user name and password for FTP account). Step 1: Login FTP account by 1 FTP client (I use FileZila) Step 2: Access to your current theme folder: wp-content/themes/your current theme Step 3: Find the file “function.php” and open it Step 4: Add the code below into the file “function.php” opened, saved and uploaded. A value of 1 is the id of the user, the default value for the user ID in Wordpress first is always equal to 1.


Step 5: Access the admin dashboard by your current link (ex: yourdomain/wp-admin) Step 6: Enter the user name and password which you will need to change, be recorded in the function file above. When it will not directly into the WordPress admin page instead execute the command line is that we have declared above, then new to the site administrator. So we’ve reset the password. Step 7: Open the “function.php” and delete the code above (if you do not delete it when WordPress will also repeat step 6). This way is faster and easier than reset WordPress administrator password by phpMyAdmin. DONE! Hope this tip helpful for you!

About - Hey, this blog belongs to me! I am the founder of TechTipLib and managing editor right now. And I love to hear what do you think about this article, leave comment below! Thank you so much...