Login attempt limiter
Locks out an IP address after a configurable number of failed login attempts, so brute force scripts stop getting free guesses.
What it does
Counts failures, then closes the door
Login attempt limiting is a Vectro security feature that locks out an IP address after a set number of failed login attempts, preventing brute force attacks on your WordPress admin.
WordPress accepts an unlimited number of login attempts by default. Nothing stops a script from trying one password after another, all day, from the same address. The login attempt limiter counts failed attempts per IP address and blocks that address once it crosses a threshold you set.
Out of the box it allows 5 failed attempts and then locks the address out for 30 minutes. You can set the threshold anywhere from 1 to 20 attempts, and the lockout anywhere from 5 minutes to 24 hours. A genuine person who mistypes a password twice never notices it exists.
Every failed attempt is also written to Vectro’s security log table with the IP address, the username tried and the time. When a lockout fires and email alerts are on, Vectro emails you the IP address, the number of attempts, the username tried and how long the lockout lasts.
Why it matters
Your login page is being tried right now
Brute force traffic against wp-login.php is constant and automated. It is not targeted at you personally – scripts sweep IP ranges looking for any WordPress install that answers. An unprotected site commonly sees hundreds to thousands of failed attempts a day, and every one of them costs you a database query, a password hash comparison, and a slice of PHP memory.
Rate limiting changes the arithmetic. A script that gets 5 guesses per half hour instead of thousands per hour is no longer a practical threat, and your server stops burning resources on traffic that was never going to succeed.
How to use it
Turn it on and set your limits
Technical detail
Where the counting happens
Vectro hooks the WordPress authentication flow. Each failed attempt increments a counter for the requesting IP address in a dedicated database table, wp_vectro_lockouts (with your site’s table prefix), which Vectro creates on activation. When the counter reaches your threshold, the row gets a lockout expiry time and further logins from that address are refused until it passes.
The address comes from REMOTE_ADDR. Proxy and CDN headers are ignored unless a developer names a trusted header with the vectro_trusted_proxy_header filter, so a client cannot forge a header to dodge a lockout. On a site behind a proxy or CDN such as Cloudflare, set that filter, otherwise every visitor can appear to come from the proxy’s address. Deactivating Vectro clears every active lockout; the table itself is only removed when you delete the plugin.
wp_vectro_lockouts (with your table prefix), one row per IP address.REMOTE_ADDR. Proxy headers are trusted only through the vectro_trusted_proxy_header filter.Compatibility
Vectro detects these and steps aside
You can override any automatic deferral from the Compatibility panel in Vectro’s dashboard if you would rather Vectro handle it.
Questions
Frequently asked
What does a login attempt limiter do in WordPress?
A login attempt limiter counts failed login attempts from each IP address and blocks that address once it passes a threshold you set. Vectro allows 5 failed attempts by default and then locks the address out for 30 minutes.
Does Vectro login attempt limiter work with Wordfence?
No – if Wordfence is active, Vectro detects it and disables its own login limiter automatically to avoid conflicts. Wordfence handles that protection instead.
How do I limit login attempts in Vectro?
Go to Vectro > Security in wp-admin, toggle Login Attempt Limiter on, then set the attempt threshold and lockout duration. The threshold can be 1 to 20 attempts and the lockout from 5 minutes to 24 hours.
Is the Vectro login attempt limiter free or Pro?
Yes, The Vectro login attempt limiter is free. It is included in the free Vectro plugin on WordPress.org with no account required.
What happens if I lock myself out of my own WordPress site?
The lockout expires automatically once the duration you configured has passed, so you regain access without any FTP or database work. Lockouts are per IP address, so you can also log in from a different network, and deactivating Vectro clears every active lockout.
Related features
Build a complete login defence
Vectro Pro adds a full login activity log and IP blocklist for deeper access control. See Pro plans
Download Vectro free on WordPress.org
27 features across Security, Performance and Maintenance. No account required, no expiry, unlimited sites.