How to: Add 2-Steps Verification in WordPress with Google Authenticator?

(Last Updated On: February 8, 2018)

Previously Google had invented 2-steps verification which adds a powerful security by adding an additional layer of security on login page. It has a great importance in order to make your WordPress login page more secure from hackers. In this article, I’m just going to show you how to add 2-steps verification in WordPress. It’s a kind of 2-steps verification as Google provides but it doesn’t integrate with Google API by itself.

Google Authenticator

Google Authenticator WordPress plugin which adds 2-steps verification like Google does, on your WP blog login page. But in this WordPress plugin we have got to generate  an authentication key which will be used while we login into our WP blogs. The 2-steps verification requirement can easily be enabled per-user basis. Google Authenticator WordPrfess copydd

How it Works?

Do follow the steps below to enable 2-steps verification on your WordPress blog:

  1. Install Google Authenticator
  2. Go to Users > Your Profile
  3. Google Authenticator Settings
  4. Active: Un-check the box “Active”  because it’ll let you generate a secret password for your Android/iPhone/Blackberry, and if you enables it then you maybe getting following error when using the computer:
  5. “ERROR: The Google Authenticator code is incorrect or has expired.”
  6. Relaxed Mode: Check box “Relaxed Mode” which will allow you to use your code for 4 times on mobile devices. If you don’t enable it the Google Authenticator expires your code after every minute. You maybe unable to access your admin area while using any mobile device.
  7. To make your WordPress admin area accessible on your Android device you must have to use Google Authenticator Android application. For more details, click here.
  8. Secret Key: You should write down the secret key on a piece of paper and store it in a safe place.
  9. Scan Bar Code if your description doesn’t have any spaces. Click Show QR code button in WordPress to see the QR code.
  10. For those who have spaces in their descriptions, type your description as your account name.
  11. Type the secret key that you have configured in your WordPress admin panel.
  12. Click Save Changes.

2 comments

  1. It might be of interest that we have recently published another plugin for strong authentication. It prefers usability to security so you can either login with a password or with one-time code.

    If you’re on a secure network, you may want to use just your password but open your smart phone when connected through an insecure WiFi (cafe, train, …).

    We tested it with a few smart phone apps: Google Authenticator, Pledge, DS3 OATH, AWToken so you don’t have to rely on Google completely.

    Try to search for S-CRIB OTP Authenticator in the list of WordPress plugins (http://wordpress.org/extend/plugins/s-crib-otp-authentication/ ).

Leave a Reply

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

eighteen − ten =