So ...
Let's see how can you limit login attempts in Wordpress ...
Obviously, we are going to use a plugin ...
And there are two scenarios ...
If you are targeting a site which is hosted outside of WA, I'd recommend a full security suite like Sucuri or AIO WP Security:
https://wordpress.org/plugins/sucuri-scanner/
https://wordpress.org/plugins/all-in-one-wp-security-and-fir...
For example, WP Security has a simple and efficient interface that will allow you to limit the maximum number of failed login attempts:
If you are targeting a WA-hosted site, you can use another lightweight plugin, Login LockDown:
https://wordpress.org/plugins/login-lockdown/
Upon activation, you need to visit Settings => Login LockDown page to configure the plugin settings:
First you need to define how many login attempts can be made.
After that choose how long a user will be unable to retry if they exceed the failed attempts.
You can also define the lockout period for IP range blocks. The default value is 60 minutes, you can adjust that if you need.
The plugin will allow users to keep trying different invalid usernames. Click on yes under lockout invalid usernames option to stop this.
Also, by default, Wordpress lets users know that whether they entered an invalid username or invalid password on failed logins. You can hide this by clicking yes under mask login errors option.
And of course, don’t forget to click on the update settings button to store your changes!
OK. Now lets's move forward to the last lesson for a few important closing thoughts ...