Skip to content
HostingSquad
To websitehostingsquad.nl
Search
EN

How do I secure WordPress with two-factor authentication?

Updated on

With two-factor authentication (2FA), when you log in to WordPress you need a code from an app on your phone in addition to your password. That code changes every 30 seconds, so an attacker cannot guess it. This makes the dashboard of your website much more secure.

Before you start

  • You are logged in to WordPress; see How do I log in to WordPress from DirectAdmin?
  • The Wordfence plugin is on your website; see How do I secure my WordPress website?
  • You have an authenticator app on your phone, such as Google Authenticator.
  • The names in this article are those of WordPress in English. If your WordPress is in Dutch, they are Login beveiliging, 1. Scan code of Enter toets, Voer code van authenticator-app in, Activeer and Download herstelcodes.
  1. Open Login Security

    In the menu on the left, click Wordfence and then Login Security.

  2. Scan the QR code

    In your authenticator app, tap the plus sign and scan the QR code under Scan Code or Enter Key. If you cannot scan, type in the key below the QR code.

  3. Keep the recovery codes

    Click Download Recovery Codes and keep the file in a safe place. With a recovery code, you can log in if you lose your phone; each code works once.

  4. Enter the code

    Type the code from the app in the field under Enter Code from Authenticator App.

  5. Turn on 2FA

    Click Activate.

Any questions? Contact us (in Dutch).

Related articles