Leave a Reply

2 comments

  1. it seems like you might have the wrong email set up in your wordpress installation or you might have got hacked?.. (hope not) anyhow i have already
    answered as to how to change your password via the database.

    You should already check what email is setup when vieweing the database.

    Here is my original answer:
    Resetting password via phpMyadmin

  2. There are multiple ways to reset your password (apart from what Sagive already mentioned).

    Let me share how to reset the password using cPanel’s File Manager. It works, if you are the (only or first) admin user…

    • Login to your cPanel (if you have FTP that should do as well)
    • Find your active theme’s functions.php file. It would usually be in the folder wp-content/themes/your_active_theme/.
    • Edit this file (if you use FTP, you may want to download and then edit using your favorite editor) and add wp_set_password('new_password',1); just after the first <?php line, replacing new_password with the actual new password you’d want to setup.
    • Save this file (if you use FTP, upload this file to the original location) and you would be able to login to your site
    • Once you are able to log in to this site, please remove the line that was just added.