Do you want to force a strong password on users in WordPress?
Enforcing strong passwords for users creating an account on your website is a great way to improve your WordPress website security.
In this article, we’ll show you how to force a strong password on users in WordPress and improve website security.
Why Enforce Strong Passwords for Your WordPress Users?
A strong password makes it more difficult for a hacker to use brute force attacks to access your site. If you’ve spent time optimizing your WordPress website security, then you’ll also want to protect your login pages by using a strong password.
However, if you have an online store, membership site, or multi-author blog, there’s a risk that your customers or other site users will make your website vulnerable to hackers by using weak passwords that are easily guessed with brute force attacks.
Having users with weak passwords can present a security risk, especially those with high level user roles like admins and editors.
WordPress has built in settings that will show users how strong the password is when creating an account, but it doesn’t enforce its strength.
Luckily, you can use a WordPress plugin to force your users to create a strong password when creating an account on your WordPress website.
With that said, let’s show you how to force a strong password on your WordPress users. Simply use the quick links below to jump to the method you want to use.
- Force strong user password with iThemes Security
- Force strong user password with Password Policy Manager
Method 1. Forcing a Strong Password on WordPress Users with iThemes Security
The easiest way to force strong passwords on your users is with a WordPress security plugin.
We recommend iThemes Security since it lets you force strong passwords with a couple of clicks.
Note: The premium version offers security hardening, file integrity checks, 404 detections, and more, but we’ll use the free version for this tutorial since it has password protection features.
First thing you need to do is install and activate the plugin. For more details, see our guide on how to install a WordPress plugin.
Upon activation, go to Security » Setup to choose your security settings. There’s a setup wizard that will walk you through configuring the security plugin for your needs.
First, click on the option for the type of website you have. We’ll select the ‘Blog’ option.
After that, choose whether it’s a personal or client site.
We’re selecting ‘Self’ for this tutorial.
Next, there’s a toggle to turn on a strong password policy for your users.
You need to click the toggle to enforce a strong password for your users and click ‘Next’.
Now, you’ve successfully forced users to have a strong password. There are a variety of other settings you can enable to make your login even more secure.
If you want to enable two-factor authentication, then click the toggle and click the ‘Next’ button.
After that, you’ll be asked if you want to enable a few more security settings. You can simply click ‘Next’.
Then, you’ll get to a screen where you can force strong passwords and change other settings by user role.
The first screen will be your security settings for admin users.
You can turn on strong passwords and refuse to let users register with a compromised password that’s been previously used on other sites.
To change the security settings for other users, simply click the ‘Administrators’ drop down and select a new option.
Once you’re finished, click the ‘Next’ button.
This will walk you through the rest of the setup wizard to enable additional security settings for your website.
If you want to change your password settings in the future, then go to Security » Settings, click on ‘User Groups’, and select the group you want to change.
After you’re done, make sure to click the ‘Save’ button to save your settings.
Method 2. Forcing a Strong Password on WordPress Users with Password Policy Manager
Another way to force strong passwords on your WordPress blog is by using the Password Policy Manager plugin. It lets you easily create strong password rules your users must follow, but doesn’t have other security features to protect your site like iThemes Security does.
First thing you need to do is install and activate the plugin. For more details, see our beginner’s guide on how to install a WordPress plugin.
After activation, you’ll have a new menu option called ‘miniOrange Password Policy’ in your WordPress admin panel. You need to click this to set up your password rules.
Then, click on the ‘Password Policy Settings’ toggle to turn on your strong password settings.
After that, you can set your strong password settings. Simply check the boxes for the password requirements you want to set.
Next, set the required password length.
After that, you can choose to have passwords expire after a set time period.
If you want to enable this, then click the ‘Enable expiration time’ toggle and enter the time in number of weeks.
Once you’re finished, make sure to click the ‘Save Settings’ button.
You can also reset all of your user’s passwords at any time.
Simply click the ‘Reset Password’ button, and all of your users will be prompted to create new strong passwords.
We hope this article helped you learn how to force strong passwords on users in WordPress. You may also want to see our guide on how to create a free business email address and our picks of the best virtual business phone number apps.