{
    "title": "WordPress two-factor authentication",
    "seo_title": "WordPress Two-Factor Authentication with WP Feint Pro",
    "h1": "WordPress two-factor authentication",
    "description": "WP Feint Pro adds two-factor authentication to WordPress: 6-digit TOTP codes, backup codes, 2FA required by role, no external service.",
    "lead": "With WP Feint Pro, a stolen password is no longer enough: every login also asks for a 6-digit code generated by an authenticator app.",
    "language": "en",
    "locale": "en-US",
    "type": "page",
    "url": "https://www.wp-feint.com/features/two-factor-authentication/",
    "canonical": "https://www.wp-feint.com/features/two-factor-authentication/",
    "markdown": "https://www.wp-feint.com/features/two-factor-authentication/index.md",
    "json": "https://www.wp-feint.com/features/two-factor-authentication/index.json",
    "published": "2026-10-27T23:16:49+00:00",
    "modified": "2026-11-23T09:39:48+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "WordPress two-factor authentication",
            "url": "https://www.wp-feint.com/features/two-factor-authentication/",
            "markdown": "https://www.wp-feint.com/features/two-factor-authentication/index.md",
            "json": "https://www.wp-feint.com/features/two-factor-authentication/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "Double authentification WordPress",
            "url": "https://www.wp-feint.com/fr/fonctionnalites/double-authentification/",
            "markdown": "https://www.wp-feint.com/fr/fonctionnalites/double-authentification/index.md",
            "json": "https://www.wp-feint.com/fr/fonctionnalites/double-authentification/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "Verificación en dos pasos para WordPress",
            "url": "https://www.wp-feint.com/es/funcionalidades/verificacion-en-dos-pasos/",
            "markdown": "https://www.wp-feint.com/es/funcionalidades/verificacion-en-dos-pasos/index.md",
            "json": "https://www.wp-feint.com/es/funcionalidades/verificacion-en-dos-pasos/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "Zwei-Faktor-Authentifizierung für WordPress",
            "url": "https://www.wp-feint.com/de/funktionen/zwei-faktor-authentifizierung/",
            "markdown": "https://www.wp-feint.com/de/funktionen/zwei-faktor-authentifizierung/index.md",
            "json": "https://www.wp-feint.com/de/funktionen/zwei-faktor-authentifizierung/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "Autenticazione a due fattori per WordPress",
            "url": "https://www.wp-feint.com/it/funzionalita/autenticazione-a-due-fattori/",
            "markdown": "https://www.wp-feint.com/it/funzionalita/autenticazione-a-due-fattori/index.md",
            "json": "https://www.wp-feint.com/it/funzionalita/autenticazione-a-due-fattori/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "Verificação em duas etapas no WordPress",
            "url": "https://www.wp-feint.com/pt/recursos/verificacao-em-duas-etapas/",
            "markdown": "https://www.wp-feint.com/pt/recursos/verificacao-em-duas-etapas/index.md",
            "json": "https://www.wp-feint.com/pt/recursos/verificacao-em-duas-etapas/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "Tweestapsverificatie voor WordPress",
            "url": "https://www.wp-feint.com/nl/functies/tweestapsverificatie/",
            "markdown": "https://www.wp-feint.com/nl/functies/tweestapsverificatie/index.md",
            "json": "https://www.wp-feint.com/nl/functies/tweestapsverificatie/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "WordPress two-factor authentication"
        },
        {
            "level": 2,
            "text": "What two-factor authentication does"
        },
        {
            "level": 2,
            "text": "Why it matters"
        },
        {
            "level": 2,
            "text": "What’s included Pro"
        },
        {
            "level": 2,
            "text": "How to turn it on"
        },
        {
            "level": 2,
            "text": "Limits and precautions"
        },
        {
            "level": 3,
            "text": "Related reading"
        },
        {
            "level": 2,
            "text": "Start free, upgrade to Pro when you’re ready"
        }
    ],
    "body": "## What two-factor authentication does\n\nAfter the password, WordPress asks for a 6-digit code shown by an authenticator app on your phone: Google Authenticator, Microsoft Authenticator, 2FAS, Aegis, 1Password… The code changes every 30 seconds (TOTP standard).\n\nNew to the concept? Read our definition of [two-factor authentication (2FA)](https://www.wp-feint.com/glossary/two-factor-authentication/). To choose a method and roll it out without locking anyone out, follow our guide [how to choose and roll out two-factor authentication on WordPress](https://www.wp-feint.com/wordpress-two-factor-authentication/).\n\nThe setup QR code is generated on your own site: the secret is never sent to an external service. It is stored encrypted, and backup codes are kept only as hashes.\n\n## Why it matters\n\nPasswords leak, get guessed or get reused from one site to the next. Two-factor authentication protects your accounts even then, and it is the single most effective defense against an administrator account takeover.\n\n## What’s included Pro\n\n- **Each user turns it on** from their profile by scanning a QR code.\n- **Ten 10-digit backup codes**, shown only once, each usable once. They can be regenerated.\n- **Required by role**: affected users are sent back to their profile until they’ve set it up. Strongly recommended for administrators.\n- **Brute-force protection**: 5 wrong codes per login, then back to the password step; after 5 failures, an increasing wait (1, 2, 4… minutes, up to one hour).\n- **[XML-RPC](https://www.wp-feint.com/glossary/xml-rpc/) and REST API**: a protected account only accepts application passwords there.\n- **Lasting protection**: accounts already using two-factor authentication keep it even if the license expires or is revoked. Other Pro features, however, stop working.\n\n![WP Feint Pro \"Two-step verification\" card: activation link on the profile and the roles for which it is required](https://www.wp-feint.com/media/admin-2fa.webp)\n\n## How to turn it on\n\n- **For yourself**: Profile → “Two-step verification” section. Scan the QR code, enter the code shown, then click “Update Profile”. Keep your backup codes somewhere safe.\n- **For a team**: WP Feint (the mask icon in the admin menu) → Protection → “Required for these roles”.\n- **Lost phone**: log in with a backup code. An administrator can also turn off two-factor authentication from the user’s profile page.\n\n## Limits and precautions\n\n- The code depends on your phone’s clock: if codes are rejected, make sure automatic time is turned on.\n- If the security keys in wp-config.php change, the secret can no longer be read: log in with a backup code, then turn two-factor authentication off and on again.\n- Last resort: `define('WFP_DISABLE_2FA', true);` in wp-config.php suspends two-factor authentication for the whole site. Remove the line once the problem is fixed.\n- External login systems that bypass the standard WordPress login form may not be covered.\n\n### Related reading\n\n- [Login attempt limiting](https://www.wp-feint.com/features/login-attempt-limiting/)\n- [Email alerts and weekly report](https://www.wp-feint.com/features/email-alerts/)\n- [Custom login page](https://www.wp-feint.com/features/custom-login-page/)\n- [Administrator activity log](https://www.wp-feint.com/features/administrator-activity-log/)\n\n## Start free, upgrade to Pro when you’re ready\n\nThe free version already hides WordPress, moves the login page, blocks XML-RPC and counts bots. Pro locks down logins, renames file URLs and monitors your sites for you: known vulnerabilities, core integrity, activity log, email alerts and the update status of all your sites in your member area. From €59 per year excl. tax, far less than the cleanup offers whose prices we checked. [Compare the costs](https://www.wp-feint.com/pricing/#cout-piratage).\n\n[See Pro pricing](https://www.wp-feint.com/pricing/)\n\n[Download the free version](https://www.wp-feint.com/download/)",
    "format": "application/json"
}