• I seem to have forgotten the password to my blog, and when I put in my e-mail address to retrieve my password it says it can’t find me. So I tried registering that email with a new username, but I still can’t get to the admin account. I was wondering if I could find my password if I access my site via FTP. Thank you for your assistance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jthomson3rd

    (@jthomson3rd)

    thanks I tried this earlier
    Through FTP
    There is also an easy way to reset your password via FTP, if you’re using the admin user.

    1. Login to your site via FTP and download your active theme’s functions.php file.

    2. Edit the file and add this code to it, right at the beginning, after the first <?php:

    wp_set_password(‘password’,1);
    Put in your own new password for the main admin user. The “1” is the user ID number in the wp_users table.

    3. Upload the modified file back to your site.

    4. After you then are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do.

    ——–
    i think i messed up at this line “wp_set_password(‘password’,1);
    Put in your own new password for the main admin user.


    i relapsed the word password in the apprstophys then tried to relogin with that password

    maybe i’m supposed to leave the two instances of the word password

    Thread Starter jthomson3rd

    (@jthomson3rd)

    Should i just try to reinstall the whole word press program?
    my previous posts and such are up there anyway, how to i start over.

    i messed up by registering my email with a new username. so now if i ask to recieve my admin password it emails me the one for the username i just made. i did that cause it was saying it didnt recognize my admin enail i used.

    i’ve tried putting wp_set_password(‘password’,1); at the top and bottom tried replacing the word password with a unique one and also left it as the word ‘password’

    thanks for reading my wordy post

    Thread Starter jthomson3rd

    (@jthomson3rd)

    i figured it out
    thanks for assisting

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘lost password’ is closed to new replies.