Setting up two-step verification for WordPress and business email
Here is how you turn on two-step verification for your WordPress login and business email, and choose between an app and a security key. Done in about an hour.
Team Netslim 10 Nov 2026 6 min read
Your WordPress login is one password away from a hacked website. The same goes for your business email, and that often holds even more: invoices, password resets for all your other services, conversations with customers. Whoever has your password often has everything.
Two-step verification solves most of that. Besides your password, you have to show a second proof, usually a code from an app on your phone. In this guide, you will read how to set up two-step verification in WordPress and in your business email, and which method suits a small company. Allow about an hour, and a few minutes per employee.
Why a strong password is not enough
A good password stops an attacker who is guessing. It does not stop someone who already has your password. And that happens more often than you think: someone types it into a fake login page, someone else uses the same password on a service that gets leaked, or a virus on a laptop reads it.
With two-step verification (also called 2FA or two-factor authentication), that leaked password is worthless without the second step. The attacker reaches the login screen and gets stuck. It is not a magic layer of protection, but it is the cheapest improvement you can make. It costs you nothing except a little getting used to.
App, key or SMS: which method do you choose?
There are roughly four ways to do that second step. They differ in convenience and in how well they resist phishing.

| Method | How it works | Strength | Weakness |
|---|---|---|---|
| Authenticator app | Your phone shows a new code every thirty seconds | Free, works everywhere, quick to set up | A fake site can intercept the code if you type it in there |
| Security key or passkey | You tap a USB key or confirm with a fingerprint or face recognition | Only works on the real website, so phishing-resistant | A key costs money and you need a spare |
| SMS code | You receive a code by SMS | Everyone understands it | Numbers can be taken over, and SMS is easy to phish |
| Code by email | You receive a code in your inbox | No app needed | Whoever has your email also has the code |
What suits a small company?
My advice is simple. Enable an authenticator app for everyone. That is doable for the whole team and blocks most attacks that target passwords. For the accounts where it really hurts, such as the email owner and the WordPress administrator, a security key or passkey is the better choice. That is something you can arrange for a few accounts without it becoming a hassle.
Use SMS only as a fallback when nothing else is possible. A code by email for your email account itself is not a second step, so skip that.
Setting up two-step verification in WordPress
WordPress has no built-in 2FA. You set it up with a plugin. Several plugins do this well, for example the Two Factor plugin, which also supports apps and security keys. The steps are the same for most plugins.
- Make sure you have a way out. First make a backup of your site and know how to reach the files (via the hosting panel). If something goes wrong, you can rename the plugin's folder there and the plugin is switched off. You can read how often to make a backup in making a website backup: how often and where to store it.
- Install and activate the plugin. In WordPress, go to Plugins, Add new, search for the 2FA plugin and click Install, then Activate.
- Turn it on for your own account first. Open your profile (Users, Profile) and find the two-step verification block. Choose the authenticator app.
- Scan the QR code. Open an authenticator app on your phone, add an account and scan the code. Enter the six-digit code from the app to confirm that it works.
- Save the backup codes. Most plugins give you one-time emergency codes. Store them in your password manager, not in a text file on your desktop.
- Test in a private window. Log out, open a private or incognito window and log in again. Only when that works do you know it works. Keep a second session open as a backup until you have done this.
- Make it mandatory for everyone else. Then turn on 2FA for everyone with an administrator or editor role. A plugin that can enforce this saves you from chasing people.
For one site, expect about a quarter of an hour. With a few users, add a few minutes per person. If you run WordPress on your own plan, it helps if the rest is in order too: updates, backups and a managed environment. That is included as standard in our WordPress hosting. Want to know how your site is doing now? Take the free website check.
Two-step verification for business email
How you turn this on depends on where your email is hosted. Here is an honest overview.
As an administrator, you turn on two-step verification in the Admin console, under Security. You can first make it voluntary for your team and require it later, with a grace period in which people can set it up. Each employee then links their phone with the authenticator app or a passkey. Don't have Workspace yet? Read how we set up Google Workspace for you, including the DNS.
Microsoft 365
Here too, you arrange it as an administrator: you require multi-factor authentication for your users, who then link their Microsoft Authenticator app or another method at their next login. The exact menus in the admin center change regularly, so search for "multi-factor authentication" instead of memorising a fixed route.
Regular mailboxes on your own domain
I have to be honest here: with a regular mailbox that you access with an email program or phone app (IMAP and SMTP), two-step verification usually does not exist. Such a program logs in with only a password. What you can do: a unique, long password per mailbox, stored in a password manager, and a properly configured SPF, DKIM and DMARC so nobody can simply send email in your name. You can read how that works in SPF, DKIM and DMARC explained. If your company needs real 2FA on email, moving to Google Workspace or Microsoft 365 is the logical step.
What if your phone is lost or broken?
This is the question people only think about when it is too late. A few agreements in advance prevent a long afternoon.
- Store the backup codes of every account in a password manager.
- For important accounts, link two methods, for example an app and a security key. Keep the spare key in a different place.
- Choose an app that supports encrypted backup or transfer to a new phone, and try that once before you need it.
- Make sure there are always two administrators, so the other can reset your account.
Locked out of WordPress and out of codes? Then you can temporarily turn off the plugin via the hosting panel by renaming the plugin folder. Log in, turn the plugin back on and set up 2FA again. It is annoying, but it is not a disaster.
Pitfalls you can avoid
- Entering a code on a fake site. An app does not protect against a convincing phishing page that forwards your code immediately. Knowing how to recognise such an email helps: recognising phishing by 7 signals.
- Only protecting the administrator. An editor with a weak password is also an entry point. Make it mandatory for all roles with write access.
- Forgetting the email account. Anyone who can access your email can reset the password of all your other services. So start with your email.
- Thinking you are done now. 2FA helps against stolen passwords, not against an outdated plugin with a vulnerability. Keep your site updated. If your site is attacked anyway, hacked website: what to do in the first 24 hours explains what to do first.
What to do now
Start with the accounts that can do the most damage, in this order:
- Turn on 2FA for your own business email account.
- Install a 2FA plugin on WordPress and turn it on for your own account.
- Test it in a private window and save the backup codes.
- Make it mandatory for everyone with access to the site and the email.
- Get a security key for yourself and possibly a colleague, with a spare.
Want someone else to handle it, or to check whether the rest of your security is in order? Our specialists can help. You can find more about what we do on the cybersecurity page.
Frequently asked questions
Is an authenticator app safer than SMS?
Yes, usually. An SMS can be intercepted or captured if someone takes over your phone number. An app generates the codes locally on your phone, so there is no network in between.
Can I set up two-step verification in WordPress without a plugin?
Not with WordPress itself, because 2FA is not part of the core. You need a plugin, or you put the protection earlier in the chain, for example through a separate login protection on the hosting panel. For most small sites, a plugin is the simplest.
What is the difference between a passkey and a security key?
A security key is a physical device, usually USB, that you tap. A passkey uses the same technology, but is stored on your phone or computer and confirmed with a fingerprint, face or PIN. Both only work on the real website.
What do I do if I lose my 2FA codes and can no longer log in?
Use the backup codes first. If you don't have them, in WordPress you can rename the plugin folder via the hosting panel to log in. With Google Workspace or Microsoft 365, another administrator resets your second step.
Read also
All blogs →
Security6 min read
AI finds leaks in minutes: this is how you stay ahead of hackers
AI finds leaks in websites in hours or minutes, and AI chatbots cause data leaks themselves. What is changing and seven measures you can take now.
Security7 min read
Website not secure warning: causes and fix
Your visitors see 'Not secure' on your site. This is what the warning means, what the four causes are and how to fix it yourself, even without technical knowledge.
Security6 min read
DDoS attack on your website: how to spot it and what to do
Your site is slow or shows 503 errors. Is it a DDoS attack or just busy? Here is how to tell, what to do right away and how to prevent it next time.
