Want to Add 2-Step Verification in WordPress Using Google Authenticator? Here‘s How to Improve Your Security

Passwords are no longer enough to fully protect WordPress sites from increasingly sophisticated cyber threats. According to Sucuri, over 80% of hacked WordPress sites did not use two-factor authentication (2FA).

Enabling 2FA must now be considered a mandatory WordPress security layer for every site owner. In this expert guide, we explain everything you need to know about setting up Google Authenticator two-factor authentication for your WordPress dashboard access.

Why Use Google Authenticator for WordPress Security?

Table: Advantages of Using Google Authenticator Plugin

BenefitDetails
FreeGoogle Authenticator is a free, open source mobile app available for iOS, Android and other platforms.
Easy setupThe Google Authenticator plugin makes enabling 2FA a breeze in WordPress.
Enhanced login securityAdds an extra 6-digit one-time passcode needed to access WordPress admin, generated every 30 seconds in the mobile app. Massively boosts login security.
Broad device supportWorks seamlessly across iPhones, Android phones tablets, Windows devices and more. Users can access codes from multiple trusted devices.

The automated nature of the time-based one-time passwords (TOTPs) means users don‘t have to rely on clumsy SMS-based two-factor systems. The codes are generated on the fly directly within the mobile app for true 2FA protection.

According to Wordfence, sites using 2FA can block over 96% of automated bot attacks. It‘s one of the most effective ways to prevent unauthorized access and malicious activity.

Step 1 – Install and Activate Google Authenticator Plugin in WordPress

Installing Google Authenticator in WordPress takes just a minute.

  1. In your WordPress dashboard, go to the main Plugins > Add New page
  2. Search for "Google Authenticator"
  3. Install and activate the official plugin by MakoWeb once located
  4. Check your User Profile section for the new Google Authenticator configuration menu

Below is a screenshot of the plugin installation process:

Installing the Google Authenticator plugin

The plugin was most recently updated in December 2022 for full compatibility with the latest WordPress 6.1 release and improved site-wide enforcement options.

Step 2 – Configure Google Authenticator Plugin Settings

Under Users > Your Profile:

  1. Go to the Google Authenticator Settings section
  2. Check the box to Enable 2FA
  3. Add a Description like your "Website Name"
  4. Use the QR Code or Secret Key in Step 3
  5. Click Save Changes

See below for example plugin settings:

Configuring Google Authenticator plugin settings

[New Feature] The latest plugin version allows enforcing 2FA for multiple user roles like Admin, Editor, Author etc. Site owners can make 2-step verification mandatory across their whole WordPress site.

Step 3 – Install Google Authenticator Mobile App

The next step is to install Google Authenticator on your iPhone, Android device or tablet:

  1. Download the iOS or Android app
  2. Open the app and add a new account
  3. Choose to scan the QR code from your WordPress plugin settings to instantly add your site details or optionally enter the secret key code manually

Once added, it will generate 6-digit verification codes that change every 30 seconds. Make sure to set up Google Authenticator on at least two trusted mobile devices as a backup.

Below shows the process of scanning your site‘s QR code:

Scanning QR code in Google Authenticator app

Step 4 – Log into WordPress using 2FA Code

You can now log into your WordPress dashboard using 2-step verification powered by Google Authenticator:

  1. Enter your WordPress username and password first
  2. In the new prompt, input the current 6-digit code from your Google Authenticator mobile app interface
  3. Click Log In

This will securely authenticate access to your admin dashboard using both factors i.e. your password and the Google Authenticator time-based one-time password code.

See the following for reference:

Logging into WordPress using Google Authenticator

Troubleshooting Tips

  • Make sure to use current code – they expire and change every 30 seconds.
  • Check date/time sync across devices if codes don‘t match up.
  • Scan barcode again if issues adding site to Google Authenticator.
  • Still stuck? Reset 2FA and scan QR code again.

Compare Google Authenticator vs Other WordPress 2FA Options

While Google Authenticator is recommended for ease of use, WordPress sites also support other methods for enabling two-factor authentication including:

  • FIDO U2F – Hardware-based USB security keys like Yubikey. Most secure 2FA option.
  • Duo Security – Premium third-party authentication service.
  • Authy – Similar to Google Authenticator. Backed up tokens.

Evaluate your site‘s unique security needs and user preferences before deciding on the right 2FA provider. But no matter what, make sure to use some form of 2FA!

Conclusion

I strongly advise all WordPress site owners to implement Google Authenticator two-factor authentication, especially sites dealing with logins, private user data or handling monetary transactions.

The 6-digit login verification codes provide an indispensable additional layer of security beyond just username and password. Protect your site from unauthorized access with Google Authenticator 2FA today!

Let me know if you have any other questions in the comments below.

We will be happy to hear your thoughts

      Leave a reply

      TechUseful