Limit login attempts in WordPress

< All Topics

Limiting the number of login attempts a visitor has on your site will help prevent brute-force login attempts. The easiest way to do this is to install the Limit Login Attempts plugin with the steps below.

 Note: Some 1-step or automatic installs will present you with an option select to limit login attempts during setup. To check if you selected this during setup just check your Settings for the Limit Login Attempts option. If it’s available you can skip the install steps.

  1. You should always backup your site before making any changes.
  2. Log in to WordPress.
  3. Go to Plugins > Add New
  4. Search for Limit Login Attempts
  5. Click Install.
  6. Click Activate.
  7. Go to Settings > Limit Login Attempts.

From the Settings page you’ll be able to view and clear lockouts, modify how many attempts a user gets, set how long they’re locked out for, and set what kind of notifications you get when a lock occurs.

More info

  • Return to Improve WordPress security.
Previous Improve WordPress security
Next Limits on editing WordPress files
Table of Contents