How to Add Two-Factor Authentication (2FA) In Wordpress for Free

How to enable two factor authentication in WordPress for free

Wordpress is one the most popular CMS platform, where people self-hosted their files on servers. Security is one of the main concerns for a Self-hosted website.

Hackers can easily exploit security vulnerabilities in themes and plugins and can access your Wordpress dashboard. That’s why you should use an extra layer of security over the regular password.

So, you can easily add Two-factor authentication to your Wordpress website and make it more secure. So, read this blog post completely to know everything about 2FA.

What is Two-factor Authentication?

Two-Factor Authentication (2FA) is an additional layer of security that is added to your Wordpress login page and it is required a One Time Password (OTP) for every login.

So, it is nearly impossible for hackers to hijack your Wordpress website even if they guess your password.

It also helps your Wordpress website prevent brute force attacks and protect from unauthorized access.

By default, Wordpress doesn’t have a Two-factor authentication facility but you can enable this using third-party security plugins.

That’s why I have listed some of the best Two-Factor Authentication Plugins for WordPress.

  • Wordfence
  • Authy
  • 2FAS
  • MiniOrange
  • Google Authenticator
  • Rublon Two-Factor Authentication
  • iThemes Security Pro

Some of them are standalone plugins just for 2FA and some are dedicated Security plugins in Wordpress.

So, here in this tutorial, we will use the Wordfence security plugin to enable two-factor authentication in Wordpress.

If you are a visual learner then you can watch this video Tutorial for easy understanding.

YouTube video

Steps to enable Two factor authentication in wordpress

Step-1: Go to the Wordpress dashboard and install the wordfence security plugin.

wordfence security plugin for wordpress

Step-2: Now install the Authenticator App on your smartphone. (Google authenticator or Microsoft Authenticator)

Step-3: Now Go to Wordfence > login security option.

Step-4: Now scan the QR code from your authenticator app

Wordfense Two-factor authentication in wordpress

Step-5: Now download the backup codes

Step-6: Now put the One time code and click on activate.

two-step verification at login in wordpress

Now Two-factor Authentication is activated on your Wordpress website. Now you need to enter the one-time password that is generating in your authenticator app while login into your dashboard.

This one-time code will change every 30 seconds and now it will be very difficult for hackers to hack your website.

Here, remember that save your backup codes in a secure location, so that in case if you don’t have access to your authenticator app you can use the backup codes to access your Wordpress website.

And these backup codes will work one time only and you can generate more backup codes later.

If you want to deactivate the two-step verification in Wordpress again Go to the wordfence > login security option and click on deactivate button. Now the two-factor authentication is disabled on your Wordpress website.

You can also make some advanced settings like Allow remembering device for 30 days, Disable XML-RPC authentication, and more.

You can also enable reCAPTCHA on the Wordpress login page.

Frequently Asked Questions about Two Factor Authentication (2FA) in WordPress

An authenticator app is a smartphone app that generates a temporary one-time password (OTP) for login to your online account Like Wordpress, Twitter, Google, etc.

There are some popular authenticator Apps that you can use like Google authenticator, Microsoft authenticator, authy, Lastpass, 1password, etc.

You can use the one-time backup codes to log in Wordpress dashboard if you don’t have access to your phone.

If you don’t have access to the authenticator app or backup codes then you have to deactivate your security plugin from your server. After that, you can disable the two-factor authentication easily from the Wordpress dashboard.

I hope you got the idea of how the two-factor authentication in Wordpress works and how you can enable this on your website.

If you have any doubts then you can ask me in the comment section.

You can also join our Weekly Newsletter for Wordpress related tips and tricks straight to your inbox.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can connect me with Twitter and Telegram.

Similar Posts

One Comment

  1. Kityo Martin says:

    A helpful guide for every blogger looking to secure their blog.

    I don’t have to wait until my site gets attacked but rather be armed!

    Thanks Abhishek.

Leave a Reply

Your email address will not be published. Required fields are marked *