WP 2FA was created by WP White Security to provide two-factor authentication for your WordPress site. Two-factor authentication (2FA) is used to increase login security for a website. It helps to keep intruders from accessing a site through weak or compromised passwords.
WP 2FA includes options for authentication, WordPress user/role policies, and redirects. The plugin was designed to allow you to immediately implement 2FA to your WordPress site using a step-by-step wizard.
This tutorial will guide you through the setup process and explain the options for 2FA in the plugin.
- Using WP 2FA – Video
- Setting Up Two-Factor Authentication with the Wizard
- Setup Up Two-Factor Authentication without the Wizard
- WP 2FA Plugin Options
Using WP 2FA – Video
Setting Up Two Factor Authentication with the Wizard
The installation of the WP 2FA plugin for WordPress can be done through the WordPress Administrator Plugins page or the WordPress.org Plugins directory. The steps below require that you are logged into the WordPress Administrator Dashboard.
NOTE: If you intend to enable two-factor authentication immediately after the installation of the plugin, then you must have an authenticator application or email address that you can use for verification. The wizard for the 2FA setup will immediately appear after the installation and activation of the plugin.
- Click on Plugins.
- Click on Add New.
- Search for WP 2FA by WP White Security.
- Click on the Install Now button.
- When the installation completes, click on Activate.
When you activate the plugin, you will immediately see the wizard start. This will allow you to immediately enable 2FA for your site and create a policy that applies to your users. The policy defines who needs to use 2FA and how it will be authenticated.
- Click on “Let’s get started!”
- Next, choose the authentication options that your users can use. The app version typically runs on a mobile device like a smartphone or tablet. For example, Google Authenticator is a commonly used authentication app.
- Determine who will be required to use 2FA.
- If you had chosen to enforce only specific users or roles, then you will need to specify the users and/or roles required to use 2FA.
- Specify any users or roles that would be excluded from using 2FA.
- You can set a grace period to allow people to set up 2FA. If you do not set a grace period, then they will be required to set it up when they log in.
- The overall 2FA policy has been set in the previous six steps. The next part is configuring 2FA for your user account (the person setting up the plugin). Click on Configure 2FA now.
- Choose how you will authenticate when using 2FA – Authenticator app or email. This tutorial will be using the authenticator app. Click on NEXT STEP.
- With your Authentication app, scan the QR code displayed on the screen or type in the code.
- When your authenticator app has created your account, click on I’M READY.
- Type in the code displayed in the authenticator app, then click on VALIDATE & SAVE.
- 2FA is now active for your WordPress user! You can generate and download the backup codes or choose to do it later.
Setting Up Two Factor Authentication without the Wizard
Creating the policy and activating 2FA for your administrator user without the wizard requires that you go to each option on the settings page yourself. When you set up 2FA for your user, you must go to your user profile to enable it.
Creating a 2FA Policy
- In the WordPress Administrator Dashboard, click on WP 2FA.
- Click on Settings.
- Choose the 2FA authentication method – application or email (or both). The option to use email also includes an option to let the user choose the email to use.
- Click on the checkbox to enable Backup codes. Uncheck it to remove the option.
- Determine who will be required to use 2FA.
- Determine who will be excluded from the requirement to use 2FA.
- Determine the grace period for users to set up 2FA. You can also choose not to have one and make users configure 2FA when they log in.
- Scroll to the bottom of the settings page and click on the Save Changes button.
WP 2FA Plugin Options
The WP 2FA plugin includes a few options that affect the use and management of 2FA for your users.
Redirect
This option allows you to redirect your users to a specific web page after successfully completing the 2FA setup wizard. Here you can add further information or a message that you want to share with your users.
Access to the WordPress User Profile Page
This option is useful when you have custom profile pages or do not permit users to access the WordPress dashboard. When enabled, the plugin automatically creates a page that only authenticated users can access. This page is used to configure their 2FA settings. This link is made available to users in an email sent when 2FA is enabled.
Hide the Disable 2FA Button on the User Profile Page
This option allows you to hide the option to Remove 2FA on the User Profile page. If you hide the button, then the user cannot disable 2FA.
The WP 2FA plugin is a simple and easy plugin that allows you to enable two-factor authentication for your WordPress site. If you need a quick way to implement 2FA, then this plugin provides the options you need.
Other 2FA Plugins: