Menu
iThemes
WordPress Security, Backups & Maintenance
  • Products
    • iThemes Security Pro
    • BackupBuddy
    • iThemes Sync
    • Why buy from iThemes?
  • Bundles
    • Essentials Bundle
    • Plugin Suite
    • WordPress Web Designer’s Toolkit
    • Customer Spotlights
  • Resources
    • Blog
    • WordPress 101 Tutorials
    • WordPress Ebooks
    • Weekly WordPress Vulnerability Report
    • The Ultimate Guide to Starting a Web Design Business
  • Training
    • Upcoming Webinars
    • Free Webinar Library
    • Premium Courses
    • Become a Member
    • Member Login
  • Support
    • Documentation
    • Get Help
    • Product Updates
    • Upgrade Policy
    • Contact
    • Our Mission: Make People’s Lives Awesome
  • Log In
WordPress News and Updates from iThemes
Categories
  • Product Updates
  • WordPress Backup
  • WordPress Block Editor
  • WordPress Ecommerce
  • WordPress for Freelancers
  • WordPress Security
  • WordPress Tutorials
  • WPprosper

5 Simple Rules for WordPress Login Security

Written by Kristen Wright on July 12, 2022

Last Updated on January 6, 2023

A successful WordPress security strategy should include steps to strengthen the WordPress login. In this post, we cover the five simple rules for better WordPress login security.

The great thing about WordPress is how it makes creating a website accessible to just about anyone. But with that accessibility comes predictability. Anyone with experience working with WordPress knows where changes to the site are made: via the wp-admin area. They even know where they need to go to access the wp-admin, the wp-login.php page.

By default, the WordPress login URL is the same for every WordPress site, and it doesn’t require any special permissions to access. That’s why the WordPress login page is the most attacked—and potentially vulnerable—part of any WordPress site.

Unfortunately, creating a bot that will roam the internet committing brute force attacks doesn’t require very much skill, and any beginner-level hacker can create one. Because attacks on the WordPress login page have a low barrier of entry, WordPress login security is crucial to secure any WordPress site.

By following these rules and using WordPress security best practices, you can avoid being vulnerable to common user login mistakes.

1. Use Strong Passwords

There is a lot of confusing and contradicting information about password security best practices on the internet. In an effort to clear up that confusion, let’s break down the basics of how using a strong password improves your WordPress security.

Whenever creating a password, the first item that you will want to consider is the length of the password. The list below shows the estimated time it takes to crack a password using a four-core i5 processor.

  • 7 characters will take .29 milliseconds to crack.
  • 8 characters will take 5 hours to crack.
  • 9 characters will take 5 days to crack.
  • 10 characters will take 4 months to crack
  • 11 characters will take 1 decade to crack
  • 12 characters will take 2 centuries to crack.

So as you can see, adding a single character to your password can significantly increase the security of your login.

A password that it is at least 12 characters long, random and includes a large pool of characters like “ISt8XXa!28X3” will make it very difficult to crack.

Unfortunately, some hackers are leveraging GPUs and stronger CPUs to decrease the amount of time needed to crack passwords. So to strengthen your logins, also be mindful of your password entropy. The higher the password entropy is, the more difficult the password will be to crack.

For example, based on just the length requirement, a password like “abcdefghijkl” is 12 characters, which is great and should take 200 years to crack. However, since the password uses sequential strings of letters, it makes the password much more predictable compared with a password like “rfybolaawtpm” which has randomized characters.

Randomizing characters decreases the predictability and increases the strength of the password. But both of these passwords have one thing in common that ultimately reduces the password entropy. Both are only using lower case letters, limiting the pool of possible characters to 26. That’s why it’s vital to include alphanumeric, upper-case letters, and common ASCII characters to increase the pool of characters needed to crack the password to 92.

Tip: Use a password manager like 1Password to generate and safely store passwords easily.
Tip: At the very least, you should require users that can make edits to WordPress to use strong passwords. Using a WordPress security plugin like iThemes Security Pro to force privileged users to use strong passwords will help to increase the WordPress login security.

2. Use a Unique Password For Every Account

Another best practice for online security is using unique passwords for every account and website login you have. This is so important, we’ll say it again: you should be using a different password for every site.

Why does reusing passwords matter so much? If you use the same password for every site and one of those sites is compromised, you are now using a compromised password for every account, on every site. Hackers can use data dumps of compromised passwords paired with your email address or username to gain access to your accounts. It’s best to not even take the risk.

The more users you have that are reusing passwords, the weaker your WordPress login security will be. 

In a list compiled by Cybernews, the most common password in 2022 was 123456. The WordPress login security of your site is only as strong as the weakest link, so be proactive with strong password requirements.

Tip: Protect WordPress from Compromised Passwords

You can protect WordPress from compromised passwords with a plugin like iThemes Security Pro. iThemes Security Pro takes advantage of the HaveIBeenPwned API to detect whether or not a password has appeared in a data breach.

Tip: Encourage users to change passwords frequently

iThemes Security’s Password Requirements features allow you to force all of your users to change their password the next time they log in. Forcing users to create a new password, allows everyone to start fresh with a strong and uncompromised password, which will increase your WordPress login security.

Tip: Use a password manager

Ultimately, using a password manager can help you keep track of your logins and unique passwords. With the help of a password manager, you don’t have to remember your passwords.

3. Limit Login Attempts

By default, there isn’t anything built into WordPress to limit the number of failed login attempts someone can make. Without a limit on the number of failed login attempts an attacker can make, they can keep trying an endless number of usernames and passwords until they are successful.

Increase your WordPress login security by installing a WordPress security plugin like iThemes Security Pro to limit the number of failed login attempts. The iThemes Security Pro WordPress Brute Force Protection feature gives you the power to set the number of allowed failed login attempts before a username or IP is locked out. A lockout will temporarily disable the attacker’s ability to make login attempts. Once the attackers have been locked out three times, they will be banned from even viewing the site. Note: When deciding how strict you want your rules for failed login attempts to be, keep the actual users of your site in mind. If you make the lockout rules too unforgiving, you run the risk of inadvertently locking out real users.  

4. Limit Outside Authentication Attempts Per Request

There are other ways to log into WordPress besides using a login form. Using XML-RPC, an attacker can make hundreds of username and password attempts in a single HTTP request. The brute force amplification method allows attackers to make thousands of username and password attempts using XML-RPC in just a few HTTP requests. When you know an attacker can use database dumps as a starting point and make thousands of guesses per request, it makes the importance of WordPress login security much clearer. Using iThemes Security Pro’s WordPress Tweaks settings, you can block multiple authentication attempts per XML-RPC request. Limiting the number of username and password attempts to one for every request will go a long way in securing your WordPress login.

In addition, when you are developing your WordPress login security plan, it is important to be aware that the WordPress Rest API adds additional ways to authenticate a WordPress user. Cookie authentication is one method of authentication when you log in WordPress automatically stores a cookie so plugins and themes can perform a function on your behalf. Cookie authentication will benefit from the protections you have added to the wp-login.php.

5. Use Two-Factor Authentication

I saved the best way method to increase WordPress login security for last: WordPress two-factor authentication. Two-factor authentication requires an extra code along with your WordPress username and password to log in.

There are many methods of two-factor authentication, but not all methods are created equal. If you can, avoid using SMS for two-factor authentication. The National Institute of Standards and Technology no longer recommends using SMS to send and receive authentication codes.

Using a WordPress security plugin, like iThemes Security Pro, you should enable either the email or mobile app method of two-factor.

Just note that many sites require you to use an email address as a username. If an attacker hacks one of these sites, the next step will be to try to log into email accounts using the new email addresses and passwords they stole. If one of your users or clients is reusing compromised passwords on every site, their email account, along with their two-factor email codes, will be compromised. The mobile app method of two-factor will do the most to increase WordPress login security. The extra authentication code that is required to log in will be sent to the user’s phone. So, even if an attacker has access to the WordPress and email credentials, there will still be no way for them to log in.

Recap: A Simple WordPress Login Security Checklist

WordPress login security should be a top priority on every site. Now that you know how to increase the login security on your site, you can take advantage of this effective hack prevention strategy.

  • 1. Use Strong Passwords
  • 2. Use Unique Passwords for Every Account
  • 3. Limit Login Attempts
  • 4. Limit Authentication Attempts
  • 5. Use Two-Factor Authentication

Get the bonus content: A Guide to WordPress Security
Click Here

The Best WordPress Security Plugin to Secure & Protect WordPress

WordPress currently powers over 40% of all websites, so it has become an easy target for hackers with malicious intent. The iThemes Security Pro plugin takes the guesswork out of WordPress security to make it easy to secure & protect your WordPress website. It’s like having a full-time security expert on staff who constantly monitors and protects your WordPress site for you.

Get iThemes Security Pro

Kristen Wright
Kristen Wright

Kristen has been writing WordPress tutorials since 2011. Kristen also enjoys journaling, hiking and camping, step aerobics, cooking, and daily adventures with her family, hoping to live a more present life.

Share via:

  • Facebook
  • Twitter
  • LinkedIn
  • More
Other related posts
A security-riddled computer monitor. There is a large, orange shield with a slash in the middle of the screen. Surrounding it are a red target, a green skull and crossbones, an orange “bug”, a triangle with an explanation point in the middle and a gray gear.
WordPress Vulnerability Report – January 25, 2023
Turnstile and hCaptcha
New Turnstile and hCaptcha Support in Security Pro 7.3
WordPress vulnerability report
WordPress Vulnerability Report – January 18, 2023
clickjacking
What is Clickjacking and How to Prevent it

Comments

  1. Rohit raj says:
    October 24, 2018 at 4:22 am

    Great list! I’ve bookmarked it for future use. It’ll definitely come in handy

    Reply
  2. amith says:
    October 26, 2018 at 4:06 am

    Thank you for sharing this very interesting post with us i really enjoyed reading about it, it is very helpful with great information.

    Reply
  3. Gupta says:
    October 26, 2018 at 5:58 am

    Amazing article written over there,
    Excellent info. Really helpful and informative article

    Reply
  4. andrew bogutt says:
    October 26, 2018 at 7:54 am

    Excellent info. Really helpful and informative article. Thanks for sharing with us.

    Reply
  5. Andrew Fetterly says:
    October 27, 2018 at 9:47 am

    Excellent information
    I always learn something new from these tutorials.

    Reply
  6. James Thomas says:
    November 14, 2018 at 6:01 am

    You explanations of this stuff are the best on the web. Simple, clear, tested by a real person! Thanks so much

    Reply
  7. Chris says:
    January 13, 2019 at 8:24 pm

    Huge fan of your plugins! Excellent point on how adding just 1 digit can make a huge difference in password security. Sharing with my Twitter followers, it would make my day if you could follow back! I am now using your plugin on my website security blog and it works great!

    Reply
  8. Vida Evelyn says:
    January 29, 2020 at 4:51 pm

    >>The mobile app method of two-factor will do the most to increase WordPress login security<<
    What is this mobile app? Earlier you said not to use SMS.

    Reply
    • Michael Moore says:
      January 30, 2020 at 9:32 am

      Hi Evelyn,

      Although you do use your mobile phone to access SMS and two-factor mobile apps, they are very different things.

      Receiving a two-factor code via SMS is not recommended because of the rise of sim hacking, and the codes are easy to intercept.

      A mobile app like Google Authenticator or Authy creates a temporary token that is only accessible from the device itself, which makes it a great choice to secure your site.

      I hope this helps!

      Michael

      Reply

Respond

Click here to cancel reply.

Get updates on new themes & plugins plus special discounts

About iThemes

  • The Team
  • Contact Us
  • Website Accessibility Statement
  • Sitemap

Resources

  • Blog
  • Documentation
  • WordPress Tutorials
  • Free WordPress Ebooks
  • Free Webinar Library
  • Free Upcoming Webinars
  • iThemes Training
  • Affiliates

Customers

  • Member Panel Login
  • Support
  • FAQs
  • Upgrade Policy
  • Licensing
  • Terms and Conditions
  • Refund Policy

Top Products

  • BackupBuddy
  • iThemes Security Pro
  • iThemes Sync
  • Restrict Content Pro
  • WPComplete
  • WordPress Plugins
  • Content Upgrades
  • WordPress Landing Page Plugin
  • BackupBuddy Stash

iThemes Media LLC Copyright © 2023 All rights reserved | Privacy Policy

© 2022 All Rights Reserved.

Visit StellarWP Visit Nexcess
Share via
Facebook
Twitter
LinkedIn
Mix
Email
Print
Copy Link
Powered by Social Snap
Copy link
CopyCopied
Powered by Social Snap

Get the Ebook: A Guide to WordPress Security

WordPress security guide
In this downloadable guide, we walk through 10 tips for better WordPress security.

  • The different types of WordPress security vulnerabilities
  • Common mistakes users and admins make
  • WordPress security best practices
  • Actions you can take today to reduce your risk of a hack or breach
No spam. Unsubscribe anytime.