Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Cómo y por qué debería limitar los intentos de acceso en WordPress

Nota editorial: Ganamos una comisión de los enlaces de socios en WPBeginner. Las comisiones no afectan a las opiniones o evaluaciones de nuestros editores. Más información sobre Proceso editorial.

¿Quieres limitar los intentos de acceso en WordPress?

Los hackers pueden utilizar un ataque de fuerza bruta en su sitio web para intentar adivinar su contraseña de administrador de WordPress. Si limitas el número de veces que pueden intentar acceder, reduces significativamente sus posibilidades de éxito.

En este artículo, le mostraremos cómo y por qué debería limitar los intentos de acceso en su sitio WordPress.

How and Why You Should Limit Login Attempts in WordPress

¿Por qué debería limitar los intentos de acceso en WordPress?

Un ataque de fuerza bruta es un método que utiliza el periodo de prueba y error para hackear su sitio web WordPress.

El tipo más común de ataque de fuerza bruta es la adivinación de contraseñas. Los piratas informáticos utilizan software automatizado para seguir adivinando su información de acceso para poder acceder / acceder a su sitio web.

Por defecto, WordPress permite a los usuarios introducir contraseñas tantas veces como quieran. Los hackers pueden intentar aprovecharse de esto utilizando scripts que introducen diferentes combinaciones hasta que adivinan el acceso / acceso correcto.

Puede evitar los ataques de fuerza bruta limitando el número de intentos fallidos de acceso por usuario. Por ejemplo, puedes bloquear temporalmente a un usuario después de 5 intentos fallidos de acceso / acceso.

Temporarily Lock Out a User After Failed Login Attempts

Desafortunadamente, algunos usuarios se encuentran bloqueados de su propio sitio web WordPress después de escribir su contraseña incorrectamente un número de veces. Si te encuentras en esa situación, entonces debes seguir los pasos de nuestra guía sobre cómo desbloquear Limitar intentos de acceso en WordPress.

Dicho esto, veamos cómo limitar el número de intentos de acceso en WordPress.

Tutorial en vídeo

Subscribe to WPBeginner

Si prefiere instrucciones escritas, siga leyendo.

Cómo limitar los intentos de acceso en WordPress

Lo primero que tienes que hacer es instalar y activar el plugin Limit Login Attempts Reloaded. Para más detalles, consulta nuestra guía paso a paso sobre cómo instalar un plugin de WordPress.

La versión gratuita es todo lo que necesitas para este tutorial. Una vez activado, debe visitar la página Ajustes ” Limitar los intentos de acceso y, a continuación, hacer clic en la pestaña “Ajustes” de la parte superior.

Los ajustes por defecto funcionarán para la mayoría de los sitios web, pero le explicaremos cómo puede establecer los ajustes del plugin de seguridad para su sitio.

Limit Login Attempts Reloaded Settings

Para cumplir con las leyes del RGPD, puede hacer clic en la casilla de verificación “Cumplimiento del RGPD” para mostrar un mensaje en su página de acceso. Puedes obtener más información acerca del RGPD en nuestra guía sobre WordPress y el cumplimiento del RGPD.

A continuación, elegirá si desea que se le avise cuando alguien ha sido bloqueado. Si lo desea, puede cambiar la dirección de correo electrónico a la que se enviará el aviso. Por defecto, se le avisará la tercera vez que el usuario sea bloqueado.

A continuación, desplácese hasta la sección Aplicación local, donde podrá definir el número de reintentos de acceso y el tiempo de bloqueo que tendrá que esperar el usuario para volver a intentarlo.

Limit Login Attempts Reloaded Settings

En primer lugar, debes definir cuántos intentos de acceso se pueden realizar. Después, elija cuántos minutos tendrá que esperar un usuario si supera ese número de intentos fallidos. El valor por defecto es de 20 minutos.

También puede aumentar el tiempo de espera una vez que el usuario ha sido bloqueado un número determinado de veces. Por ejemplo, los ajustes por defecto no permitirán al usuario intentar acceder durante 24 horas una vez que haya sido desconectado 4 veces.

Le recomendamos que no modifique la configuración de “Orígenes IP de confianza” por motivos de seguridad.

No olvides hacer clic en el botón “Guardar ajustes” situado en la parte inferior de la pantalla para guardar los cambios.

Consejos prácticos para proteger su sitio web en WordPress

Limitar los intentos de acceso es sólo una forma de mantener seguro su sitio WordPress.

La primera capa de protección para su sitio web WordPress son sus contraseñas. Siempre debe utilizar contraseñas seguras en su sitio de WordPress.

Las contraseñas seguras pueden ser difíciles de recordar, pero puedes utilizar un gestor de contraseñas para hacerlo más fácil. Si tienes un sitio WordPress con varios autores, mira cómo puedes forzar contraseñas seguras a los usuarios en WordPress.

Si su página de acceso a WordPress sigue siendo atacada, entonces otra capa de protección que puede añadir es Google reCAPTCHA para el acceso / acceso a WordPress. Esto ayudará aún más a reducir los ataques DDoS.

Ningún sitio web es 100% seguro porque los hackers siempre encuentran nuevas formas de burlar el sistema. Por eso es crucial mantener copias de seguridad completas de su sitio WordPress en todo momento. Recomendamos usar Duplicator u otro plugin popular de copias de seguridad para WordPress.

Si usted tiene un sitio web de negocios, entonces le recomendamos que añada un cortafuegos que se encarga de los ataques de fuerza bruta y más. Utilizamos Sucuri para garantizar nuestra seguridad, y si algo le sucede a nuestro sitio, entonces su equipo se encarga de corregirlo sin cargo adicional.

Para obtener más consejos sobre seguridad de sitios web, consulte nuestra guía definitiva sobre seguridad en WordPress.

Esperamos que este tutorial te haya ayudado a aprender cómo limitar los intentos de acceso / acceso en WordPress. Puede que también quieras ver nuestra guía sobre cómo elegir el mejor alojamiento para WordPress o nuestra selección experta de los plugins imprescindibles para hacer crecer tu sitio web.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Descargo: Nuestro contenido está apoyado por los lectores. Esto significa que si hace clic en algunos de nuestros enlaces, podemos ganar una comisión. Vea cómo se financia WPBeginner , por qué es importante, y cómo puede apoyarnos. Aquí está nuestro proceso editorial .

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

El último kit de herramientas de WordPress

Obtenga acceso GRATUITO a nuestro kit de herramientas - una colección de productos y recursos relacionados con WordPress que todo profesional debería tener!

Reader Interactions

56 comentariosDeja una respuesta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jiří Vaněk says

    Is there another way than a plugin? E.g. using htaccess or similar component? I have my own server and would like to have this limit on my site. However, I already have relatively enough plugins and would not like to add more. So I’m looking for a way to do it without a plugin.

  3. Linda Willis says

    Thanks so much for this very helpful article on a plugin to stop the huge number of brute force attacks our site has endured recently. I’ve just installed it, using your easy to follow step by step guide to its settings. Can’t wait to see how it works!

    Also followed the link to password managers. Thanks to your comments, I’m going to try LastPass again. We’ve been using Dashlane (free version) for a few years, but are frustrated by some of its rules. LastPass paid version sounds like a much better deal. Now to determine how to make the switch … easily!

    Thanks again!

    Linda

  4. kristyburkholder says

    Good day! This is kind of off topic but I need some advice from an established blog. Is it tough to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about making my own but I’m not sure where to start. Do you have any tips or suggestions? With thanks

  5. Paul Gent says

    I have Limit Login Attempts (yes, I need to update to something newer) and am being attacked all the time. I have added a new user as an administrator in an attempt to be able to access my own website without having to wait. But even then I have been kicked out before I can create any posts.

    Does anyone have any advice please?

    • Shyam Chathuranga says

      Yep, you’re right. I’ve been using the Limit Login Attempts plugin for this whole time and recently, it started blocking all users instead of blocking the attacker based on his IP.

      So, I guess I’ve to say bye for that plugin and use something else now.

  6. Miguel says

    I recently installed WordFence to monitor my website security. It offers a feature for limiting login attempts. Consequently, I deactivated and deleted Limit Login Attempts Reloaded.

    However, within WP Admin> Settings, there remains Limit Login Attempts. Do you know if that is installed by default with WP and regardless, how I can get rid of it.?

    I believe that it’s overriding the settings in WordFence.

    Thanks for your time,
    Miguel

  7. erlindawva says

    Howdy this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be greatly appreciated!

  8. Jorge Manuel says

    I received the ‘exceeded maximum retries’ message today – but with an absolute correct password!
    How can this be?
    I just started setting up this WP site two days ago, it has no content aside from a free theme and a title. I installed login lockdown, but it is NOT activated.
    it baffles me why there would be a BF attack on an obscure site name with barely 90 MB content…

  9. Alam Khan says

    Hi WPBginner’s Team,

    Thanks a lot for creating such a huge and useful content for WordPress users like us. I always search for solutions at your website and also get the solution every time since last 2-3 years.

    Today is the first time I am posting a comment for the above issue, I am using Limit Login Attempts plugin and it really helps me in keeping my website secure as per day I see 10-15 failed login attempts, but sometimes it is locked for 24 hours, which restrict us also. Is it possible to use Login LockDown also and block wrong attempts by IP, so that our genuine users are not blocked.

    Is it possible to use Limit Login Attempts plugin and Login LockDown plugin at the same time on the same website?

    Thanks
    Alam Khan
    Founder

  10. cheryleduryea says

    Hmm it looks like your site ate my first comment (it was super long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog writer but I’m still new to the whole thing. Do you have any points for beginner blog writers? I’d certainly appreciate it.

  11. agustinpenny920 says

    Hi, of course this article is genuinely good and I have learned lot of things from it regarding blogging. thanks.

  12. adelaida5489 says

    With havin so much content and articles do you ever run into any issues of plagorism or copyright violation? My blog has a lot of unique content I’ve either created myself or outsourced but it seems a lot of it is popping it up all over the web without my agreement. Do you know any methods to help prevent content from being stolen? I’d certainly appreciate it.

  13. YNS says

    Hi,

    With the a bundle of trusted plugins (which at the same time offer multiple other security feature), It’s no longer that hard to protect WordPress sites from attacks like login attempt.

    Those complaining about the feature not being in-built should realize the functionality extensions are meant to serve. The WordPress ecosystem is just scalable, I really like it. But need more partnership with powerful CDN provider. In countries like China, a good plugin like JetPack becomes useless because all the IPs it connects to are malicious to the Great Firewall.

    This Blog is very useful, especially when promoting successful open source WordPress projects.

  14. Brad says

    One of my sites get’s nearly 100 login attempts per month. Like many of you, I find it odd since it’s not an ecommerce site and we gather no user information. I installed Wordfence Security plugin which offers lock out options for any incorrect username as well as by IP and even entire countries.

    It also has several other defenses which have proved to be invaluable. The web isn’t safe without some sort of protection. If you any of you know of a better one, please share.

    Safe Programming!
    Brad

  15. Steve says

    No one has mentioned Jetpack, which has a module called Brute Protect. This blocks users from suspicious IP addresses automatically. It is based on a global network that can track spammers from all over the web.

  16. Pete says

    Thank you for another the tip. I use BackupBuddy and I love that it automatically runs my backups but it also enables users to easily migrate sites to other servers. Especially going from a local host to a live server.

  17. Donna says

    Its funny I get this email b/c I work up to 27 attempts at my site over night from all over the world.. I mean really what do they want I have a sewing and fashion blog? What they attempt to gain from this taking over my site and pay them?? I just changed my settings a few days ago prior to this article because I was getting quite a few hacks.. Now this am over 27 which is the most I have ever seen.

  18. Connor Rickett says

    Is that a question that really needs an answer? Because it prevents brute force hacking (or at least slows it way down).

    Why WP doesn’t come with limited login attempts out of the box, now THAT’S a question that I’d like to see a blog post addressing.

  19. Iza says

    I am using Limit Login Attempts in combination with another great safety plug-in called WP-Ban. The Limit Login Attempts plug-in sends me an e-mail after second I believe unsuccessful login attempt with the IP of the user. I paste this user into Ban plug-in and next time, the user will not be able to try log-in at all. Just another layer of security against trolls.

    • Nika says

      Limit Login Attempts hasn’t been updated in over 3 years. It’s outdated. Login LockDown has poor functionality and why it’s recommended here I don’t know.
      A few weeks ago I’ve installed WP Cerber instead.
      It looks like a strong solution. It does all the things as expected.

  20. Joris Heyndrickx says

    I think it’s time WordPress should have configurable paths so that we finally can het rid of example.com/wp-admin. I saw requests for this, 8 years ago.

  21. Jon Schear says

    I’ve used this a couple times. Brought the usual load of 50 emails an hour about lockout notifications down to 0.

    Recaptcha is another good one, but much more difficult to implement.

  22. Han Balk says

    I switched from LLA to Wordfence, because of all the extra security features it’s got.

    Every Operating System has a feature to limit login attempts. I know WordPress is a CMS and not an OS, But it is a mature CMS and the WordPress community would greatly benefit of a buitlin login limitation that’s enabled by default. A lot of WordPress sites are “vulnerable” for unlimited login attempts, because they’re not properly protected and the owners are not security aware.

    It can’t be that difficult to built in a login limitation and enable it by default in one of the forthcoming WordPress versions?

  23. Howard says

    Limit Login Attempts has not been updated in a couple of years, and has some “holes” in it. I discovered this in my logs, where I found nearly 100 “lockouts” in a 10-minute period from the same IP. The lockouts were activated after the 2nd unsuccessful attempts, and were supposed to be for 72 hours. They were coming so fast that it was an effective DoS, and required some effort to get it stopped. It’s fairly obvious that the script kiddie has bypassed the lockout. The attacks from that IP address stopped when I was finally able to add it to the deny list in .htaccess.
    .
    I still use LLA for the limited but useful information and notifications, but I don’t rely on it to keep my site secure.

  24. FranE says

    I notice this functionality on some of my sites, even though they don’t have the plugin installed. Is it included in certain themes? Maybe Genesis?

    • WPBeginner Staff says

      We are not aware of any themes including this functionality. Remember themes are not supposed to add functionality to your WordPress site. Functionality comes under plugins. May be it is something added by your web host?

  25. Grayhambo says

    There appear to be some compatibility issues with this plugin with WP 4.0, as it hasn’t been updated in over 2 years. Can lock you out of the admin panel. If this happens, then you need to disable the plugin in the usual way, using something like cPanel access.

  26. Torben Heikel Vinther says

    Sounds like a good and simple plugin, but why not use Better WP Security instead? BWS has a whole section about Limit Login Attempts AND many other security issues in one single plugin! In addition BWS was last updated 2013-8-24. Limit Login Attempts hasn’t been updated since 2012-6-1!

    • Editorial Staff says

      Torben, there are a lot of plugins that offers this functionality. Limit Login Attempts is a simple plugin that does one thing and does it real well. That’s not to say that BWS is a bad solution. It’s a very good solution (over 1 million downloads on the plugin already proves that).

      Administrador

  27. ColeRuddick says

    Excellent tip! As WordPress is the most widely used platform out there now, site security should be something all users are taking seriously and this plugin is a great help. Thanks for sharing!

Deja tu comentario

Gracias por elegir dejar un comentario. Tenga en cuenta que todos los comentarios son moderados de acuerdo con nuestros política de comentarios, y su dirección de correo electrónico NO será publicada. Por favor, NO utilice palabras clave en el campo de nombre. Tengamos una conversación personal y significativa.