Hide login errors
Replaces WordPress login error messages with a single generic one, so a failed attempt never confirms that a username exists.
What it does
One message instead of a diagnosis
Hide login errors is a Vectro security feature that replaces the specific WordPress login failure messages with a single generic message, so a failed attempt never confirms whether a username exists.
WordPress is helpful when a login fails, and that is the problem. Enter a username that does not exist and it says the username is unknown. Enter a real username with the wrong password and it says the password is incorrect. The difference between those two messages tells you which usernames are real.
This feature replaces both with a single message: “Incorrect username or password. Please try again.” The same message appears whichever part was wrong.
Everything else about the login flow is unchanged. Genuine users see one slightly less specific message and carry on.
Why it matters
The error message is a free oracle
An attacker who can distinguish “no such user” from “wrong password” can test usernames cheaply and build a confirmed list before attempting a single password. That turns one large guessing problem into two much smaller ones, and the second is far more likely to succeed.
A generic message removes that signal. An attacker who has to guess both the username and the password simultaneously is facing a search space large enough that automated attacks stop being worthwhile – which is exactly the outcome you want, and it costs your real users almost nothing.
How to use it
A single toggle
Technical detail
Where the message is replaced
Vectro filters the error text shown on the WordPress login screen and substitutes a single generic message, whatever error was raised. The authentication logic itself is untouched – the account check, the password comparison and the resulting success or failure are all unchanged.
The replacement covers every error shown on the login screen. That includes errors on the lost password form and the lockout notice from the login attempt limiter, which a locked-out visitor will also see as the generic message.
Compatibility
Runs alongside everything
No conflicts detected. Vectro runs this feature regardless of other plugins active.
Questions
Frequently asked
What does hiding WordPress login errors do?
Hiding login errors replaces the separate unknown username and incorrect password messages with one generic message reading “Incorrect username or password. Please try again.” An attacker can no longer tell which half of the credentials was wrong.
Does hiding login errors work with other security plugins?
Vectro runs this feature regardless of other plugins active, because no conflicts are detected for it. If another plugin also filters login errors, whichever applies last determines the message shown.
How do I hide login error messages in Vectro?
Go to Vectro > Security in wp-admin and toggle Hide Login Errors on. Test it in a private window by trying a wrong username and then a real username with a wrong password, which should both return the same message.
Is hiding login errors in Vectro free or Pro?
Yes, Hiding login errors is free. It is included in the free Vectro plugin on WordPress.org with no account required.
Does hiding login errors affect the WordPress password reset form?
Yes, for error messages. Any error shown on the lost password form is replaced with the same generic message. The reset email itself is unchanged, and a valid reset request works as normal.
Related features
Make guessing pointless
Vectro Pro adds a login activity log and password strength enforcement across all users. See Pro plans
Download Vectro free on WordPress.org
27 features across Security, Performance and Maintenance. No account required, no expiry, unlimited sites.