{"id":96111,"date":"2023-10-18T14:19:54","date_gmt":"2023-10-18T14:19:54","guid":{"rendered":"\/tutorials\/?p=96111"},"modified":"2026-03-09T19:17:41","modified_gmt":"2026-03-09T19:17:41","slug":"wordpress-two-factor-authentication","status":"publish","type":"post","link":"\/ng\/tutorials\/wordpress-two-factor-authentication\/","title":{"rendered":"How to set up two-factor authentication for WordPress"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>Two-factor authentication (2FA) is a secondary layer of authentication when logging in to an app, service, or website like WordPress. 2FA has picked up in popularity in recent years, with many websites now making this security measure a requirement. However, this concept has been around for many years.<\/p><p>2FA has proven itself to be an effective security measure that technology giants such as Google and Microsoft are making it mandatory for user accounts. Nowadays, website owners can also secure their WordPress sites with 2FA using popular security plugins like WP 2FA.<\/p><p>In this article, we will be looking at what 2FA is and how it works on WordPress. We will also go through the setup and configuration process before sharing some plugin recommendations.<\/p><p class=\"has-text-align-center\"><a href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/WordPress-Security-Checklist.pdf\">Download WordPress security checklist<\/a><\/p><p>\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-what-is-two-factor-authentication\">What is two-factor authentication?<\/h2><p>Two-factor authentication adds a second proof of identity to your WordPress login &ndash; a one-time code from an authenticator app, SMS, email, or a hardware key. Even if a password is leaked, attackers can&rsquo;t access your dashboard without that extra step.<\/p><p>In fact, if you&rsquo;ve ever withdrawn money from an ATM, you&rsquo;ve used 2FA. ATMs require a bank card as the first layer of authentication and a secure PIN as the second layer.<\/p><p>WordPress 2FA works in a similar way to ensure <a href=\"\/ng\/tutorials\/how-to-secure-wordpress\/\">WordPress security<\/a>. You will need your username and password as the first layer and the 2FA code as the second layer of authentication. While this may sound simple, it is one of the most effective security measures in addition to other methods like choosing <a href=\"\/ng\/wordpress-hosting\">secure WordPress hosting<\/a>. Even if your login credentials end up in the wrong hands, it is unlikely that your 2FA code will. This helps prevent unauthorized access from infiltrating your WordPress website.<\/p><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/ng\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-how-does-two-factor-authentication-work-on-wordpress\">How does two-factor authentication work on WordPress?<\/h2><p>Two-factor authentication adds a second check to the <a href=\"\/ng\/tutorials\/how-to-login-to-wordpress-dashboard\/\">WordPress login<\/a>. After a user enters their username and password on the login page, a 2FA plugin prompts for a one-time code or security key. Only after that second factor is verified does the user get access.<\/p><p><a href=\"\/ng\/tutorials\/what-is-wordpress\/\">WordPress<\/a> core doesn&rsquo;t include 2FA, so you&rsquo;ll enable it with a plugin. Good plugins protect the default login page and can also cover custom forms, such as WooCommerce and membership logins, though support varies by plugin.<\/p><p>These are the common authentication methods:<\/p><ul class=\"wp-block-list\">\n<li><strong>TOTP apps (recommended):<\/strong> Time-based codes from apps like Google Authenticator, Microsoft Authenticator, or Authy.<\/li>\n\n\n\n<li><strong>Passkeys\/security keys (WebAuthn\/FIDO2):<\/strong> Use a hardware key or built-in device biometrics.<\/li>\n\n\n\n<li><strong>Email or SMS codes:<\/strong> Useful as fallbacks when an authenticator app isn&rsquo;t available.<\/li>\n\n\n\n<li><strong>Backup codes:<\/strong> One-time recovery codes you store safely offline.<\/li>\n<\/ul><p>The more methods a plugin supports, the easier it is for different users to adopt 2FA. Plugins like WP 2FA, for example, offer TOTP and email\/SMS options so users without a smartphone can still use 2FA.<\/p><p>Lockouts are a common worry &ndash; lost phone, dead battery, or no signal. Reduce risk by choosing a plugin that supports multiple sign-in methods and admin recovery, then require users to generate and store offline backup codes. Enable a secondary factor, such as email or SMS, when TOTP isn&rsquo;t available. During rollout, use a short grace period so users can enroll without being blocked, and document a clear recovery path &ndash; including an emergency admin bypass, for critical accounts.<\/p><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Pro Tip                <\/p>\n            <\/div>\n            <p class=\"protip__content\">Some apps let you choose a preferred two-factor authentication method, with popular options being TOTPs and mobile push notifications. Some password managers might ask you to generate a backup code in case you forget the master password.<\/p>\n                    <\/div>\n        \n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-set-up-wordpress-two-factor-authentication\">How to set up WordPress two-factor authentication<\/h2><p>In this <a href=\"\/ng\/tutorials\/wordpress\/\">WordPress tutorial<\/a>, we will demonstrate how to configure <a href=\"https:\/\/wordpress.org\/plugins\/wp-2fa\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP 2FA<\/a>, a WordPress two-factor authentication plugin by Melapress. It&rsquo;s secure and user-friendly, making it easy for anyone to add 2FA to their website.<\/p><p>The plugin walks you through the entire setup and configuration process, and there&rsquo;s email support available if you need it.<\/p><p>The plugin comes in both free and paid versions. The free version, which we will be using for this tutorial, includes everything you need to set up 2FA. However, the <a href=\"https:\/\/melapress.com\/wordpress-2fa\/pricing\/\" target=\"_blank\" rel=\"noreferrer noopener\">premium edition of WP 2FA<\/a> adds even more features to help you enhance your 2FA. From <strong>$79\/year<\/strong>, you can access:<\/p><ul class=\"wp-block-list\">\n<li><strong>More authentication methods<\/strong>. Premium versions add SMS, email one-click links, and Authy push notification options.<\/li>\n\n\n\n<li><strong>White labeling<\/strong>. Extensive white labeling options are available to customize every aspect of the 2FA configuration wizard to meet your branding guidelines.<\/li>\n\n\n\n<li><strong>Remember device<\/strong>. Give trusted users the ability to list their devices as trusted so that they don&rsquo;t have to enter 2FA every time.<\/li>\n\n\n\n<li><strong>One-click WooCommerce integration<\/strong>. Integrate WP 2FA with WooCommerce seamlessly.<\/li>\n\n\n\n<li><strong>Additional backup methods<\/strong>. Choose between backup codes and email for 2FA backup method authentication.<\/li>\n<\/ul><h3 class=\"wp-block-heading\" id=\"h-1-configuring-the-wp-2fa-plugin\">1. Configuring the WP 2FA plugin<\/h3><p>Now, it&rsquo;s time to configure WP 2FA with this step-by-step guide. The plugin&rsquo;s wizard makes everything easy to set up, so no technical expertise is required.<\/p><p>First, download the plugin. After logging in to your WordPress website, navigate to <strong>Plugins <\/strong>&rarr; <strong>Add New Plugin<\/strong>. In the top-right search box, type <strong>WP 2FA<\/strong> and then download the plugin by clicking on <strong>Install Now<\/strong> and then <strong>Activate<\/strong>.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-admin-plugin.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1244\" height=\"498\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-admin-plugin.png\/public\" alt=\"Finding WP 2FA plugin on the WordPress plugin panel\" class=\"wp-image-104186\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-admin-plugin.png\/w=1244,fit=scale-down 1244w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-admin-plugin.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-admin-plugin.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-admin-plugin.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-admin-plugin.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1244px) 100vw, 1244px\" \/><\/a><\/figure><\/div><p>Once the plugin is activated, the setup wizard will launch automatically. Click on <strong>LET&rsquo;S GET STARTED!<\/strong> to begin.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-get-started.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"576\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-get-started.png\/public\" alt=\"WP 2FA wizard to get started with plugin configuration\" class=\"wp-image-104187\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-get-started.png\/w=1000,fit=scale-down 1000w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-get-started.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-get-started.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-get-started.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure><\/div><p>In the first step, choose which 2FA methods you want to make available to yourself and other users. The free version of WP 2FA includes both the 2FA App, similar to Google Authenticator, and 2FA email.<\/p><p>We&rsquo;ll select both options to give users the freedom to choose which one works best for them. You can restrict options by unticking the method you do not want to make available. Once that&rsquo;s done, click <strong>CONTINUE SETUP<\/strong> to proceed.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-available-user-methods.png\"><img loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"1031\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-available-user-methods.png\/public\" alt=\"Selecting the 2FA methods for users\" class=\"wp-image-104188\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-available-user-methods.png\/w=998,fit=scale-down 998w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-available-user-methods.png\/w=290,fit=scale-down 290w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-available-user-methods.png\/w=991,fit=scale-down 991w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-available-user-methods.png\/w=145,fit=scale-down 145w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-available-user-methods.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 998px) 100vw, 998px\" \/><\/a><\/figure><\/div><p>Next, we will be choosing alternative 2FA methods. The free version of WP 2FA includes backup codes. Tick the option and hit <strong>CONTINUE SETUP<\/strong>.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-alternative-backup-codes.png\"><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"937\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-alternative-backup-codes.png\/public\" alt=\"Selecting backup codes as an alternative method\" class=\"wp-image-104189\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-alternative-backup-codes.png\/w=954,fit=scale-down 954w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-alternative-backup-codes.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-alternative-backup-codes.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-alternative-backup-codes.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><\/a><\/figure><\/div><p>WP 2FA uses policies to determine which users have to set up 2FA, which users can set up 2FA as an option, and which users are excluded from setting up 2FA.<\/p><p>By default, 2FA is enforced on all users. However, you can choose to enforce it on some users or none at all. Once you&rsquo;ve made your selection, click <strong>CONTINUE SETUP<\/strong>.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-enforce.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1003\" height=\"804\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-enforce.png\/public\" alt=\"The options to enforce 2FA for the users\" class=\"wp-image-104190\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-enforce.png\/w=1003,fit=scale-down 1003w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-enforce.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-enforce.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-enforce.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1003px) 100vw, 1003px\" \/><\/a><\/figure><\/div><p>Even if you choose to enforce 2FA on all users, it&rsquo;s possible to exclude specific users from setting up 2FA. Here, WP 2FA provides two options &ndash; to exclude specific users or specific roles. Leave both fields empty if you do not want to exclude anyone. Then, click on <strong>CONTINUE SETUP<\/strong>.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-user-exclude.png\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"799\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-user-exclude.png\/public\" alt=\"The options to exclude certain users or roles from 2FA\" class=\"wp-image-104191\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-user-exclude.png\/w=975,fit=scale-down 975w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-user-exclude.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-user-exclude.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-user-exclude.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/a><\/figure><\/div><p>In the last step of the WP 2FA setup wizard, you can give users a grace period to set up 2FA or mandate it straight away. You can also select how WP 2FA should proceed in different scenarios, like if a user fails to set up 2FA within the grace period.<\/p><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Unsure About the Settings?                <\/p>\n            <\/div>\n            <p class=\"protip__content\">Don&rsquo;t worry &ndash; any configurations made here can easily be changed from WP 2FA&rsquo;s plugin settings at any time.<\/p>\n                    <\/div>\n        \n\n\n\n<\/p><p>Once ready, click <strong>ALL DONE<\/strong> to finalize the wizard and move to the next step.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods-policies.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"999\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods-policies.png\/public\" alt=\"The options to set grace period for 2FA\" class=\"wp-image-104192\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods-policies.png\/w=1006,fit=scale-down 1006w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods-policies.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods-policies.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods-policies.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/a><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-2-setting-up-user-s-two-factor-authentication\">2. Setting up user&rsquo;s two-factor authentication<\/h3><p>Now that you have completed the initial 2FA configuration wizard, it is time to set up 2FA for your own WordPress user account. This is the same process that all of your other users will go through when setting up their own 2FA.<\/p><p>The 2FA setup wizard will launch right after you complete the configuration wizard. However, you can access it anytime from the WordPress user profile page.<\/p><p>In the first step, choose the 2FA method to set up. In this example, we will be using 2FA App. Click <strong>NEXT STEP<\/strong> to continue.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods.png\"><img loading=\"lazy\" decoding=\"async\" width=\"774\" height=\"322\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods.png\/public\" alt=\"The step to select 2FA method, with the one-time code via 2FA app selected\" class=\"wp-image-104193\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods.png\/w=774,fit=scale-down 774w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-methods.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><\/figure><\/div><p>The wizard will present you with a QR code that you need to scan with an authenticator app of your choice. You can also enter the code manually. Once the authenticator app has accepted the QR code, click <strong>I&rsquo;M READY<\/strong> to proceed.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-totp-setup.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1193\" height=\"530\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-totp-setup.png\/public\" alt=\"The QR code and authentication code to connect 2FA with an authentication app.\" class=\"wp-image-104194\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-totp-setup.png\/w=1193,fit=scale-down 1193w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-totp-setup.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-totp-setup.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-totp-setup.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-totp-setup.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1193px) 100vw, 1193px\" \/><\/a><\/figure><\/div><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Pro Tip                <\/p>\n            <\/div>\n            <p class=\"protip__content\">Some password managers like 1Password let you store your two-factor authentication codes. With this method, you&rsquo;ll be able to store your password and OTPs in one app.<\/p>\n                    <\/div>\n        \n\n\n\n<\/p><p>The authenticator app should now be displaying a code for your WordPress website. The code changes every 30 seconds, which is what makes 2FA so secure.<\/p><p>Enter the current code as displayed in the authenticator app under <strong>Authentication Code<\/strong> and click on <strong>VALIDATE &amp; SAVE<\/strong>.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-validation-code.png\"><img loading=\"lazy\" decoding=\"async\" width=\"775\" height=\"302\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-validation-code.png\/public\" alt=\"The step to enter the code from an authentication app to finalize the setup\" class=\"wp-image-104195\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-validation-code.png\/w=775,fit=scale-down 775w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-validation-code.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-validation-code.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-validation-code.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 775px) 100vw, 775px\" \/><\/a><\/figure><\/div><p>The next step of creating backup codes is optional but highly recommended nevertheless.<\/p><p>Each code can be used only once, and new codes can be generated anytime from your WordPress profile page. Click on <strong>GENERATE LIST OF BACKUP CODES<\/strong> to continue.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-backup-codes.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1234\" height=\"267\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-backup-codes.png\/w=1024,h=1024,fit=scale-down\" alt=\"The option to generate the backup codes list\" class=\"wp-image-104196\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-backup-codes.png\/w=1234,fit=scale-down 1234w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-backup-codes.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-backup-codes.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-backup-codes.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-backup-codes.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1234px) 100vw, 1234px\" \/><\/a><\/figure><\/div><p>The codes will appear on the screen. Remember to keep them somewhere safe by either downloading, printing, or having them sent by email. Click <strong>I&rsquo;M READY, CLOSE THE WIZARD<\/strong> to finish.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-generated-backup-codes.png\"><img loading=\"lazy\" decoding=\"async\" width=\"912\" height=\"372\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-generated-backup-codes.png\/public\" alt=\"The example of generated backup codes from the 2FA plugin, with the option to download, and print, send via email.\" class=\"wp-image-104197\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-generated-backup-codes.png\/w=912,fit=scale-down 912w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-generated-backup-codes.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-generated-backup-codes.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-generated-backup-codes.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 912px) 100vw, 912px\" \/><\/a><\/figure><\/div><p>To ensure the setup is successful, <a href=\"\/ng\/tutorials\/wordpress\/how-to-login-to-wordpress-dashboard\/\">log in to your WordPress account<\/a> and check if the login page asks for your 2FA code.<\/p><h3 class=\"wp-block-heading\" id=\"h-3-setting-up-email-two-factor-authentication\">3. Setting up email two-factor authentication<\/h3><p>Setting up email 2FA works similarly to setting up the 2FA App. However, the first two steps are slightly different, which we will illustrate below.<\/p><p>In the first step of the 2FA setup process, choose <strong>One-time code via email<\/strong>. Click <strong>NEXT STEP<\/strong> to continue.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-email.png\"><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"319\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-email.png\/public\" alt=\"The step to select 2FA method, with the email authentication method selected\" class=\"wp-image-104198\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-email.png\/w=777,fit=scale-down 777w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-email.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-email.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-email.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/a><\/figure><\/div><p>In the second step of the wizard, confirm your email address &ndash; this is the same address configured in your WordPress profile. Once you click <strong>I&rsquo;M READY<\/strong>, the plugin will automatically send a one-time code to your email address.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-hotp.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1234\" height=\"395\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-hotp.png\/public\" alt=\"The step to set up email authentication using the user email\" class=\"wp-image-104199\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-hotp.png\/w=1234,fit=scale-down 1234w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-hotp.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-hotp.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-hotp.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/02\/2fa-hotp.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1234px) 100vw, 1234px\" \/><\/a><\/figure><\/div><p>If you do not receive the email, make sure to check your spam folder. It&rsquo;s also possible that your <a href=\"\/ng\/tutorials\/wordpress-not-sending-email\/\">WordPress is not sending out emails<\/a>, as this is by far the most common issue. Check our tutorial to resolve this issue before proceeding.<\/p><p>After that, complete the remainder of the wizard as per the previous section.<\/p><h2 class=\"wp-block-heading\" id=\"h-wordpress-two-factor-authentication-plugin-recommendations\">WordPress two-factor authentication plugin recommendations<\/h2><p>WP 2FA is one of the easiest 2FA plugins for WordPress to use. It is packed with features designed to help you stay secure, is user-friendly, and includes many customizability options. It also comes with email support to help you resolve any issues. However, there are other alternatives you may want to consider:<\/p><ul class=\"wp-block-list\">\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/two-factor\/\" target=\"_blank\" rel=\"noreferrer noopener\">Two-Factor<\/a><\/strong>. Includes support for U2F and a dummy method for testing. Users like it for its ease of use and efficiency.<\/li>\n\n\n\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/miniorange-2-factor-authentication\/\" target=\"_blank\" rel=\"noreferrer noopener\">miniOrange&rsquo;s Google Authenticator<\/a><\/strong>. The free version includes 3 free users for life. It also supports security questions for 2FA.<\/li>\n\n\n\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/wordfence\/\" target=\"_blank\" rel=\"noreferrer noopener\">Wordfence<\/a><\/strong>. Supports two-factor authentication for your WordPress site and enhances defenses against unauthorized access through firewalls and malware scanning.<\/li>\n\n\n\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/all-in-one-wp-security-and-firewall\/\" target=\"_blank\" rel=\"noreferrer noopener\">All-In-One Security (AIOS)<\/a><\/strong>. Provides 2FA and a web application firewall (WAF) in one plugin.<\/li>\n<\/ul><p>These plugins provide two-factor authentication features for varying needs to ensure better WordPress site protection.<\/p><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Suggested Reading                <\/p>\n            <\/div>\n            <p class=\"protip__content\"> Check out our article on <a href=\"\/ng\/tutorials\/wordpress-security-plugins\/\">The 7 Best WordPress Security Plugins<\/a> to keep your site safe.<\/p>\n                    <\/div>\n        \n\n\n<figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/ng\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Setting up 2FA might seem like a small step, but it has a significant positive impact on your website safety. It adds an additional security layer, safeguarding against unauthorized access.<\/p><p>With the right plugin, you can seamlessly implement 2FA to better protect your WordPress site from potential attacks.<\/p><p>Here&rsquo;s a short recap on how to enable two-factor authentication for WordPress websites:<\/p><ul class=\"wp-block-list\">\n<li>Install a 2FA WordPress plugin such as WP 2FA.<\/li>\n\n\n\n<li>Follow the setup wizard and configure two-factor authentication.<\/li>\n\n\n\n<li>Enforce 2FA for all users, including site admins and collaborators, for fortified security.<\/li>\n<\/ul><p>Maintaining excellent website security is an ongoing commitment. Aside from enabling 2FA, keep your site secure by regularly updating third-party applications and following best practices against emerging threats.<\/p><h2 class=\"wp-block-heading\" id=\"h-wordpress-two-factor-authentication-faq\">WordPress two-factor authentication FAQ<\/h2><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1697636498689\"><h3 class=\"schema-faq-question\">Do I have to enable two-factor authentication for WordPress?<\/h3> <p class=\"schema-faq-answer\">Two-factor authentication (2FA) is not mandatory, but it&rsquo;s highly recommended for enhancing your WordPress website&rsquo;s security. It adds extra protection by requiring you to enter your password and a unique time-based code to log in.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1697636522768\"><h3 class=\"schema-faq-question\">What should I do if I lose my two-factor authentication device or backup codes<\/h3> <p class=\"schema-faq-answer\">If you lose your 2FA device or backup codes, don&rsquo;t worry. Contact your WordPress administrator to regain access. They can help temporarily disable 2FA so you can set it up again.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1697636545225\"><h3 class=\"schema-faq-question\">Can I use two-factor authentication with the WordPress mobile app<\/h3> <p class=\"schema-faq-answer\">Absolutely! Two-factor authentication can and should be used with the WordPress mobile app for better security. It protects the user account seamlessly whenever you&rsquo;re logging in via the app or web browser.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Two-factor authentication (2FA) is a secondary layer of authentication when logging in to an app, service, or website like WordPress. 2FA has picked up in popularity in recent years, with many websites now making this security measure a requirement. However, this concept has been around for many years. 2FA has proven itself to be an [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/wordpress-two-factor-authentication\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":309,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to Enable Two-Factor Authentication for WordPress","rank_math_description":"Read this article to discover how to enable two-factor authentication for WordPress in 3 steps and find out the recommended plugins for it.","rank_math_focus_keyword":"two factor authentication for WordPress","footnotes":""},"categories":[22637],"tags":[],"class_list":["post-96111","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/wordpress-two-factor-authentication","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/wordpress-two-factor-authentication","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/wordpress-two-factor-authentication","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/wordpress-two-factor-authentication","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/wordpress-two-factor-authentication","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/wordpress-two-factor-authentication","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/wordpress-two-factor-authentication","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/wordpress-two-factor-authentication","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/96111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=96111"}],"version-history":[{"count":12,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/96111\/revisions"}],"predecessor-version":[{"id":143941,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/96111\/revisions\/143941"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=96111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=96111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=96111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}