Two-step sign-in makes your WordPress sign-in ask for one more thing after the password: a six-digit code from an authenticator app on your phone. Someone who has stolen or guessed a password still cannot get in without the phone.
Switch it on
- In your hosting panel, open the site and find Two-step sign-in.
- Turn on the switch. The change takes a few seconds; the card shows Applying… and then In force once your site has confirmed it.
- If you want every administrator to use it, turn on Every administrator must use it. Administrators who have not set it up yet are taken to their profile page to do so before they can use the WordPress dashboard.
Switching it on does not lock anyone out: people who have not set it up yet sign in with their password as before, until they set it up (or until it is required for administrators).
Set it up for your own account
Each person sets it up for themselves, on their own WordPress profile page:
- Sign in to WordPress and open Users → Profile.
- Under Two-step sign-in, scan the square code with an authenticator app (any app that supports time-based codes, such as Google Authenticator, Microsoft Authenticator, 1Password, Bitwarden or Aegis). If you cannot scan it, type the key shown under it into the app.
- Type the six-digit code the app shows into the box, then click Update Profile.
- Save the ten recovery codes the page then shows you, somewhere safe. They are shown only once.
From then on, after your password, WordPress asks for the code from the app.
Lost your phone?
- Enter one of your recovery codes where the code is asked for. Each one works once. You can make a new set on your profile page at any time (the old set stops working).
- No recovery codes left? Another administrator can open your user in Users, tick Reset under Two-step sign-in and save. You then sign in with your password and set it up again.
Good to know
- Your authenticator secret and recovery codes are kept on your own site only. We never see them.
- After ten wrong codes in 15 minutes, every code is refused for that account (even a right one) until the 15 minutes have passed, however many sign-ins they were spread over. The same limit applies to the internet address the codes come from, across all accounts on the site: ten wrong codes from one address and that address is refused for 15 minutes too.
- Each code works once. If the same code is sent twice, even at the same moment, only the first one signs in.
- Apps that sign in over XML-RPC with a password cannot be used by an account with two-step sign-in. Use an application password instead (Users → Profile → Application Passwords).
- Application passwords do not ask for a code: that is how WordPress itself works. Each one is a long random password made for one app, which you can see and revoke under Users → Profile → Application Passwords. Revoke any you do not recognise.
- The panel's one-click WordPress admin button does not ask for a code, by design: you have already signed in to your account with us to use it, and that account can switch two-step sign-in off anyway. Protect that account with its own two-step sign-in.
- Switching two-step sign-in off in the panel keeps everyone's set-up, so switching it back on later needs no one to set it up again.
- If a change does not finish, the card says why (for example, when your site's
wp-content/mu-plugins folder cannot be written to). Fix that, then use the switch again.
Este artigo ainda não foi traduzido para o seu idioma, pelo que está a ler a versão em inglês.