Support » Fixing WordPress » Unable to login to my wordpress website

  • Resolved andaazpk


    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.


    Usman Khan

Viewing 5 replies - 1 through 5 (of 5 total)
  • did you try to retrieve the password to your email?


    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

    Login to your FTP and enter your theme directory.

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


    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 =)


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


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

    Usman Khan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to login to my wordpress website’ is closed to new replies.