How to Add Two-Step Authentication on WordPress Website

Two-step authentication is one of the most essential features that should be used on WordPress websites. I recommend using this feature to add an extra layer of security to your website. In this article, I show you how to enable two-factor authentication on the WordPress website.

What is Two-Step Authentication?

Attackers use brute-force attacks to crack your username and password. By this technique, the attacker systematically tries all possible passwords until the correct one is found. If they succeed in their attempts they can harm your application.

When you enable 2 step verification, it requires you to enter the security code along with your username and password. This security code can be received on your mobile or email depending on the service you choose. As you are the only person who has access to your mobile or email, it makes it almost impossible for attackers to get the security code.

That being said, let’s see how to set up two-factor authentication on the WordPress website.

Set Up Two-Step Authentication

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

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


From these settings, you can choose the preferred option to turn on 2-step verification.

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

Email Verification

I’d also recommend trying other options and picking the one which is more suitable for you.

How Does It Work?

I assume you have set Email as a Two-Factor option. Now when you try to login into WordPress, after entering the correct username and password, you’ll redirect to the next screen where you need to enter a verification code.

verification code

When a user enters the correct username and password, the Two-Factor plugin sends a verification code to the registered email address. You have to provide this verification code then only one can log into the dashboard. Users can’t login to the system without this verification code.

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

Related Articles

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. Required fields are marked *