{"id":3569,"date":"2019-04-28T07:56:32","date_gmt":"2019-04-28T07:56:32","guid":{"rendered":"https:\/\/wpvivid.com\/?p=3569"},"modified":"2020-02-02T05:04:41","modified_gmt":"2020-02-02T05:04:41","slug":"add-two-factor-authentication","status":"publish","type":"post","link":"https:\/\/wpvivid.com\/add-two-factor-authentication.html","title":{"rendered":"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security"},"content":{"rendered":"<p>With the ever increasing number of criminals and hackers, simple usernames and passwords are becoming ineffective against various types of cyber attacks. The most common types of attacks are <a href=\"https:\/\/wpvivid.com\/protect-wordpress-from-brute-force-attacks.html\">brute force attacks<\/a> in which <a href=\"https:\/\/wpvivid.com\/limit-wordpress-login-attempts.html\">hackers attempt to guess your username and password<\/a>. <a href=\"https:\/\/wpvivid.com\/add-two-factor-authentication.html\">Adding Two Factor authentication or 2-FA<\/a> can help you easily <a href=\"https:\/\/wpvivid.com\/steps-secure-your-website-against-hackers.html\">add an extra layer of security<\/a> to <a href=\"https:\/\/wpvivid.com\/start-a-blog-with-wordpress.html\">your WordPress website<\/a>.<\/p>\n<p>Other than attackers stealing your usernames and passwords, it is also possible that<a href=\"https:\/\/wpvivid.com\/log-out-inactive-users.html\"> users are not careful with their passwords<\/a> and leak them online or store them insecurely. This can also mean easy unauthorized access to their accounts.<\/p>\n<p>In WordPress, you can easily add two factor authentication using one of the <a href=\"https:\/\/wpvivid.com\/best-two-factor-authentication-plugins.html\">best 2FA plugins<\/a> such as Google Authenticator \u2013 WordPress Two Factor Authentication (2FA).<\/p>\n<blockquote>\n<h2>Why You Need to Add Two Factor Authentication in Your Site?<\/h2>\n<\/blockquote>\n<p>When you add two factor authentication, <a href=\"https:\/\/wpvivid.com\/create-a-wordpress-membership-site.html\">any user logging in to your website<\/a> will need their username, password and a special code generated for that login session only. The code can either be<a href=\"https:\/\/wpvivid.com\/8-best-smtp-plugins-for-wordpress.html\"> sent to their email<\/a> or mobile phone via an app, sms or notification.<\/p>\n<p>Google authenticator is popular 2FA authentication app that can receive one time passwords or codes and is easy to use. It works with most mobile platforms including android and ios.<\/p>\n<blockquote>\n<h2>Step by Step: How to Add Two Factor Authentication in a WordPress Site?<\/h2>\n<\/blockquote>\n<h4><strong><b>Installing the Plugin<\/b><\/strong><\/h4>\n<p>In your <a href=\"https:\/\/wpvivid.com\/manage-files-and-folders-on-admin-dashboard.html\">WordPress dashboard<\/a> navigate to plugins and click on Add new. Search for Google Authenticator \u2013 WordPress. Install and activate the plugin.<\/p>\n<p><strong><b>\u00a0<\/b><\/strong><strong><b> <img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3571 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/install-Google-authenticator-wordpress-two-factor-authentication-2FA-plugin.png\" alt=\"Install Google authenticator wordpress two factor authentication 2FA plugin\" width=\"1354\" height=\"421\" \/><\/b><\/strong><\/p>\n<h4><strong><b>General Overview of the Plugin<\/b><\/strong><\/h4>\n<p>Once installed and activated you will find a new menu item in your WordPress dashboard. The mini-Orange 2 Factor.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3572 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/mini-Orange-2-Factor-in-wordpress-admin-menu.png\" alt=\"Mini Orange 2 Factor in wordpress admin menu\" width=\"1343\" height=\"659\" \/><\/p>\n<p>In the dashboard of the plugin you can see various 2 factor authentication methods that you can use. In the free version of the plugin the following methods are available.<\/p>\n<ul>\n<li>Google Authenticator \u2013 Setup logins with the google authenticator app<\/li>\n<li>Security questions \u2013 You will need to answer 3 security questions that you had set<\/li>\n<li>miniOrange Soft Token \u2013 Setup logins with the miniorange authenticator app using a soft token<\/li>\n<li>miniOrange QR Code Authentication \u2013 Setup logins with the miniorange authenticator app using a QR Code<\/li>\n<li>miniOrange Push notification &#8211; Setup logins with the miniorange authenticator app <a href=\"https:\/\/wpvivid.com\/add-web-push-notification-wordpress.html\">using push notifications<\/a><\/li>\n<\/ul>\n<p>In the Standard version of the plugin there are additional authentication methods such as one time password via sms or email. The authentication methods in the premium plan are also the same. However there are additional features offered in both plans.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3573 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/2-factor-authentication-methods-list.png\" alt=\"2 factor authentication methods\" width=\"943\" height=\"420\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/2-factor-authentication-methods-list.png 943w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/2-factor-authentication-methods-list-300x134.png 300w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/2-factor-authentication-methods-list-768x342.png 768w\" sizes=\"(max-width: 943px) 100vw, 943px\" \/><\/p>\n<p>P.S.: You can also view the additional features offered by the plugin, in the dashboard click on upgrade to standard \/ premium plans.<\/p>\n<h4><strong><b>Setting up Google Authenticator<\/b><\/strong><\/h4>\n<p>In the plugin dashboard click on Configure.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3574 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/Setting-up-Google-Authenticator.png\" alt=\"Setting up Google Authenticator\" width=\"282\" height=\"184\" \/><\/p>\n<p><a href=\"https:\/\/wpvivid.com\/best-wordpress-popup-plugins.html\">In the pop up<\/a> that appears you need to <a href=\"https:\/\/wpvivid.com\/social-login-in-wordpress-website.html\">register for an account<\/a>. Enter your email and choose a password. Enter the password again to confirm and click on continue.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3575 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/register-for-an-account-to-setup-2FA.png\" alt=\"Register for an account to setup 2FA\" width=\"581\" height=\"348\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/register-for-an-account-to-setup-2FA.png 581w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/register-for-an-account-to-setup-2FA-300x180.png 300w\" sizes=\"(max-width: 581px) 100vw, 581px\" \/><\/p>\n<p>On the next page you need to select the authenticator app that you would like to use. <a href=\"https:\/\/wpvivid.com\/free-download-manager-plugins.html\">You can download these<\/a> from the Android Play or iOS App store. Choose an Account Name for the app. Scan the QR Code with your app.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3576 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/select-the-authenticator-app.png\" alt=\"Select the authenticator app\" width=\"1182\" height=\"620\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/select-the-authenticator-app.png 1182w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/select-the-authenticator-app-300x157.png 300w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/select-the-authenticator-app-768x403.png 768w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/select-the-authenticator-app-1024x537.png 1024w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/select-the-authenticator-app-1080x566.png 1080w\" sizes=\"(max-width: 1182px) 100vw, 1182px\" \/><\/p>\n<p>Once you scan the QR code with your app, you will get a 6 digit code that you need to enter. Click on verify and save.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3577 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/verify-and-save-code.png\" alt=\"Verify and save code\" width=\"278\" height=\"212\" \/><\/p>\n<p>To test the 2 factor authentication try and<a href=\"https:\/\/wpvivid.com\/create-custom-login-page-wordpress.html\"> log in to your WordPress dashboard.<\/a> Enter your username and password and click on Log In.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3578 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/test-the-2-factor-authentication-in-wordpress.png\" alt=\"Test the 2 factor authentication in wordpress\" width=\"322\" height=\"457\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/test-the-2-factor-authentication-in-wordpress.png 322w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/test-the-2-factor-authentication-in-wordpress-211x300.png 211w\" sizes=\"(max-width: 322px) 100vw, 322px\" \/><\/p>\n<p>You will now be asked to enter a one time password. This will be generated in the google authenticator app on your phone. Enter the code and click on validate.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"with-border alignnone wp-image-3579 size-full\" src=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/Validate-the-2FA-code.png\" alt=\"Validate the 2FA code\" width=\"514\" height=\"344\" srcset=\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/Validate-the-2FA-code.png 514w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/Validate-the-2FA-code-300x201.png 300w, https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/04\/Validate-the-2FA-code-272x182.png 272w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/p>\n<h4><strong><b>More Options<\/b><\/strong><\/h4>\n<p>The free version of the plugin allows you to enable 2 factor authentication for one user only. The pro version of the plugin has a dynamic pricing based on the number of users. There are additional features such as additional authentication methods, multiple login options such as username and password or username and one time password, <a href=\"https:\/\/wpvivid.com\/set-up-wordpress-multisite-network.html\">multi-site support<\/a> and <a href=\"https:\/\/wpvivid.com\/how-to-manage-and-edit-user-roles-in-wordpress.html\">user role based<\/a> redirections.<\/p>\n<blockquote>\n<h2>Conclusion<\/h2>\n<\/blockquote>\n<p>As you can see the plugin adds another layer of security to your WordPress website. The only way you can log in is by using the right username and password along with a onetime password generated <a href=\"https:\/\/wpvivid.com\/convert-wordpress-site-into-mobile-app.html\">on your mobile device<\/a>.<\/p>\n<p>It is good practice to <a href=\"https:\/\/wpvivid.com\/must-have-plugins-for-wordpress.html\">try and keep the number of plugins<\/a> you have in WordPress to as few as possible. Some plugins tend to <a href=\"https:\/\/wpvivid.com\/setup-cloudflare-cdn-in-wordpress.html\">slow down your website<\/a> and others have incompatibility issues. If you have a <a href=\"https:\/\/wpvivid.com\/8-best-wordpress-firewall-plugins.html\">WordPress firewall or security plugin<\/a> installed, you might not need this at all, they normally come with a two factor authentication option and also helps you <a href=\"https:\/\/wpvivid.com\/protect-wordpress-from-brute-force-attacks.html\">secure your WordPress website against brute force attacks<\/a>.<\/p>\n<p>In case you may need, here is our ultimate guide on <a href=\"https:\/\/wpvivid.com\/wordpress-security.html\">WordPress security<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding Two Factor authentication (2-FA) can help you enhance security of your website. Within this guide, we will see how to add 2FA in a WordPress Site.<\/p>\n","protected":false},"author":3,"featured_media":3581,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","iawp_total_views":27},"categories":[80],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security - WPvivid<\/title>\n<meta name=\"description\" content=\"Adding Two Factor authentication (2-FA) can help you enhance security of your website. Within this guide, we will see how to add 2FA in a WordPress Site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpvivid.com\/add-two-factor-authentication.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security - WPvivid\" \/>\n<meta property=\"og:description\" content=\"Adding Two Factor authentication (2-FA) can help you enhance security of your website. Within this guide, we will see how to add 2FA in a WordPress Site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpvivid.com\/add-two-factor-authentication.html\" \/>\n<meta property=\"og:site_name\" content=\"WPvivid\" \/>\n<meta property=\"article:published_time\" content=\"2019-04-28T07:56:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-02T05:04:41+00:00\" \/>\n<meta name=\"author\" content=\"TonyRobins\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TonyRobins\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpvivid.com\/add-two-factor-authentication.html\",\"url\":\"https:\/\/wpvivid.com\/add-two-factor-authentication.html\",\"name\":\"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security - WPvivid\",\"isPartOf\":{\"@id\":\"https:\/\/wpvivid.com\/#website\"},\"datePublished\":\"2019-04-28T07:56:32+00:00\",\"dateModified\":\"2020-02-02T05:04:41+00:00\",\"author\":{\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0\"},\"description\":\"Adding Two Factor authentication (2-FA) can help you enhance security of your website. Within this guide, we will see how to add 2FA in a WordPress Site.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpvivid.com\/add-two-factor-authentication.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpvivid.com\/add-two-factor-authentication.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpvivid.com\/add-two-factor-authentication.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpvivid.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpvivid.com\/#website\",\"url\":\"https:\/\/wpvivid.com\/\",\"name\":\"WPvivid\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpvivid.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0\",\"name\":\"TonyRobins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpvivid.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png\",\"contentUrl\":\"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png\",\"caption\":\"TonyRobins\"},\"url\":\"https:\/\/wpvivid.com\/author\/tonyrobins\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security - WPvivid","description":"Adding Two Factor authentication (2-FA) can help you enhance security of your website. Within this guide, we will see how to add 2FA in a WordPress Site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpvivid.com\/add-two-factor-authentication.html","og_locale":"en_US","og_type":"article","og_title":"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security - WPvivid","og_description":"Adding Two Factor authentication (2-FA) can help you enhance security of your website. Within this guide, we will see how to add 2FA in a WordPress Site.","og_url":"https:\/\/wpvivid.com\/add-two-factor-authentication.html","og_site_name":"WPvivid","article_published_time":"2019-04-28T07:56:32+00:00","article_modified_time":"2020-02-02T05:04:41+00:00","author":"TonyRobins","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TonyRobins","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpvivid.com\/add-two-factor-authentication.html","url":"https:\/\/wpvivid.com\/add-two-factor-authentication.html","name":"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security - WPvivid","isPartOf":{"@id":"https:\/\/wpvivid.com\/#website"},"datePublished":"2019-04-28T07:56:32+00:00","dateModified":"2020-02-02T05:04:41+00:00","author":{"@id":"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0"},"description":"Adding Two Factor authentication (2-FA) can help you enhance security of your website. Within this guide, we will see how to add 2FA in a WordPress Site.","breadcrumb":{"@id":"https:\/\/wpvivid.com\/add-two-factor-authentication.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpvivid.com\/add-two-factor-authentication.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpvivid.com\/add-two-factor-authentication.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpvivid.com\/"},{"@type":"ListItem","position":2,"name":"How to Add Two Factor Authentication (2FA) in WordPress to Enhance Your Site Security"}]},{"@type":"WebSite","@id":"https:\/\/wpvivid.com\/#website","url":"https:\/\/wpvivid.com\/","name":"WPvivid","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpvivid.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpvivid.com\/#\/schema\/person\/7cd2b626d269c38ca5456654d1a5d2e0","name":"TonyRobins","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpvivid.com\/#\/schema\/person\/image\/","url":"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png","contentUrl":"https:\/\/wpvivid.com\/wp-content\/uploads\/2019\/10\/logo1-96x96.png","caption":"TonyRobins"},"url":"https:\/\/wpvivid.com\/author\/tonyrobins"}]}},"_links":{"self":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts\/3569"}],"collection":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/comments?post=3569"}],"version-history":[{"count":0,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/posts\/3569\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/media?parent=3569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/categories?post=3569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpvivid.com\/wp-json\/wp\/v2\/tags?post=3569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}