How To Add Two Step Authentication On WordPress Website

Two-step authentication is one of the best WordPress security feature available. We recommend using this features for your WordPress applications which adds an extra layer of security for your website. In this article, we show you how to enable two-factor authentication on WordPress website.

What Is Two Step Authentication?

Attackers use the technique of brute-force attacks to crack your username and password. No need to say, if they succeed in their attempts they can harm your application.

If you are using 2 step verification, then along with username and password you need to enter the security code from your mobile or email. As you are the only person who has access to your mobile or email, it makes impossible for attackers to get the security code.

Having said that, let’s see how to set up two-factor authentication in WordPress.

Set Up Two Step Authentication

At first, you need to install and activate the plugin Two-Factor. This plugin can be the part of WordPress core in the future version. More about this you can check here.

If you want to use WP-CLI for plugin installation then please read our article How To Manage WordPress Website Using WP-CLI.

Upon activation, go to Users->Your Profile page. On this page at the bottom, you will find the settings for the Two-Factor plugin.

Two Factor Settings

From here, you can choose any option to turn on 2 step verification.

If you choose an option to email, then security code will send on your email address for each login attempt.

Email Verification

You can even choose Google Authenticator for 2 step verification. In that case, you need to scan QR code with your Google Authenticator app.

How It Works?

We have set Email as Two-Factor options. Now when we try to login to our dashboard, after entering username and password we redirect to next screen where we need to enter a verification code.

verification code

You will get this verification code from the registered email address. When we entered the correct username and password Two-Factor plugin send a verification code to the email address. User can’t login to your system until they enter the correct verification code.

We hope you understand how to set up two-step authentication on WordPress website. Please share your thoughts in the comment section below.

If you liked this article, then please subscribe to our YouTube Channel for video tutorials.

Leave a Reply

Your email address will not be published.