I was browsing through the net researching for a project today when I stumbled upon something very interesting, which I thought was worthy for wordpress tutorials. I`ve had to reset wordpress administrative password many times and so far I only knew one way of doing it(besides the automatic emailer): using mysql access. Turns out there are several ways but one got my attention: resetting through ftp. The only thing you have to do is add
in the beginning of your functions.php file. “password” is your desired password, and 1 is the id of the user in the wp_users table and voala on the next page load you`ve got your wordpress admin password reset. After you login don`t forget to restore the functions.php file to its original state, because otherwise it will reset your password every page load.