Home » WordPress Tutorials » Security » How to Limit Login Attempts in WordPress

How to Limit Login Attempts in WordPress

Protecting your WordPress website should be a top priority for you and your team. Protection not only can ensure a more confident site-building and maintenance process but also can contribute to more conversions, as your visitors and potential customers might well feel safe to make purchases via your pages.

One of the best ways to add a layer of security is to limit the number of login attempts. This is one of the most useful approaches to defend your site from brute hacking attacks – the type of attacks in which hackers try out different login passwords, so they eventually stumble on the one which works.

 

How to Limit Login Attempts in WordPress

One of the fastest ways of applying a number of login attempts is by using a dedicated WordPress plugin. There are numerous plugins that add different kinds of security to your website. However, for this demonstration, you will see how to install and use a plugin that limits the number of login attempts.

To do so, first, enter your WordPress admin panel and from there go to the Plugins->Add New:

 

Then search for suitable plugins and install the one that fits your requirements the best. For this demonstration, we will use Limit Login Attempts Reloaded. However, you can use anyone else you want:

 

Once you’ve installed and activated the plugin, go to the dedicated settings page. In our case, this menu permalink is placed in the WordPress sidebar and looks like this:

 

Along with other handy options, this particular plugin gives some comprehensive settings regarding preferences such as:

  • Notification email after X failed tries
  • Number of allowed retries
  • Setting up the minutes of lockout
  • Setting up the increased time of the lockout time after X failed tries.

Spend some time and get yourself familiar with all the settings the plugin offers and then spend some more time tweaking these, so you set up all your preferences.

To apply these, simply click on the Save Settings button. This will not only save them but also apply the changes you just made:

 

Now, when you have applied the settings, the WordPress login window displays a dedicated message, informing visitors that they have a certain number of login trials, and if they fail to log in, two things will happen:

  1. The admin will receive a notification email.
  2. WordPress will be blocked for that particular user for a certain amount of time, for example, 24 hours

 

Conclusion

Limiting the login attempts is only one way of securing your pages. Relying on a safe hosting service and adding additional levels of security is a fundamental step in making your website safe. This is why ZETTAHOST provides its partners with reliable and safe hosting services like WordPress hosting.

Browse our services and contact us to explore how we can become your partner in the digital world.

Also, check out our free and comprehensive WordPress guide that will show you everything about the platform and the site-building process.

Related:

Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

How to Add a Site Logo Block in WordPress with Gutenberg

Adding a site logo in WordPress with Gutenberg is straightforward and requires only a few mouse clicks and just several minutes of your time. In the following paragraphs, you will read how to add a site logo to your WordPress website via the Gutenberg editor step by...

How to Add Images to WordPress with Gutenberg

Adding images with Gutenberg is quite simple. The block editor is very user-friendly and allows you to add images in several ways. In the following paragraphs, you will read about 4 methods you can instantly use to upload the media files you want.   How to Add...

How to Disable Gutenberg in WordPress

If Gutenberg is not suitable for your needs and wish to switch back to the Classic Editor, continue reading, as in this article we will show you 3 simple methods of how to disable the block editor. In the following sections, you will read how to disable Gutenberg by:...

5 Best Gutenberg Plugins for WordPress

One of the fastest and most convenient ways of enhancing the functionalities of Gutenberg is by using various WordPress plugins. Although Gutenberg is very versatile and feature-rich by itself, the open-source nature of WordPress has inspired developers all around the...

How to Add a Contact Form with WordPress Gutenberg Editor

If you are using Gutenberg to craft your WordPress website, then you should know that the process is very easy, especially by using the block editor. In the following paragraphs, you will read how to add one to your pages.   How to Add a Contact Form with...

Ready to Create Your Website?