WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Unable to login to my wordpress website (6 posts)

  1. andaazpk
    Member
    Posted 1 year ago #

    Recently I activated akismet plugin in my wordpress website to get rid of the spam comments. Since then, I haven't been able to login to my wordpress admin side. I tried to reset the password throuh phpmyadmin and also tried the auto resest option but both went in vain. I need some word of advice from anyone to solve this issues so that I can login to my wp-admin again. I am in a severe problem i can't find out any solution. Please help me.

    Regards,

    Usman Khan

  2. oritzio
    Member
    Posted 1 year ago #

    did you try to retrieve the password to your email?

  3. andaazpk
    Member
    Posted 1 year ago #

    @oritzio

    thanks for your reply mate, yes i did but it offers a password reset only, which i have done a number of times, but it doesn't work. I'm stuck

  4. oritzio
    Member
    Posted 1 year ago #

    Login to your FTP and enter your theme directory.

    Edit the function.php file and put in the first line this code:

    wp_set_password('password',1);

    after that try to login with
    user: admin
    password: password

    after you did that delete the line from the function.php
    and try again to login with this password.

    If it works for you then you can change your password after that to whatever you like =)

  5. andaazpk
    Member
    Posted 1 year ago #

    @oritzio,

    Thanks mate, let me try this. thanks for your help again.

  6. andaazpk
    Member
    Posted 1 year ago #

    @oritzio

    Thank you so much mate, you saved my day :)
    I really appreciate your help.

    Regards,
    Usman Khan

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.