Title: Wrong username or password
Last modified: July 4, 2026

---

# Wrong username or password

 *  [dan009](https://wordpress.org/support/users/dan009/)
 * (@dan009)
 * [20 hours, 32 minutes ago](https://wordpress.org/support/topic/wrong-username-or-password/)
 * Hi,
 * Recently when I tried to login to my website I got 502 error. Restarted server,
   did all that dns stuff nothing worked.
 * I disabled the plugins and enabled one by one, and it seems like Wordfence is
   causing the issue.
 * After enabled it now I get wrong username or password, if I disable it all working
   fine.
 * I have theme that has custom login page, not sure if that makes a difference.
   Will do some more tests.

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-username-or-password%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dan009](https://wordpress.org/support/users/dan009/)
 * Last activity: [20 hours, 32 minutes ago](https://wordpress.org/support/topic/wrong-username-or-password/)
 * Status: not resolved