Google Two-Factor Authentication

Final product image
What You’ll Be Creating

Brute force login attacks targeting WordPress sites are quite common, such as in April 2013 when more than 90,000 sites were targeted. There are a handful of good ways to protect yourself against these attacks:

However, I prefer to use a two-factor authentication method that requires a code from my phone to complete the login process. Google’s Authenticator has been gaining ground as a mobile app for providing secure codes. In fact, you may already have the Google Authenticator app on your phone, as a number of web services are now integrating with it, including cloud file store provider Dropbox, cloud hosting provider Digital Ocean, and name service provider

And, fortunately, there is a simple WordPress plugin by Henrik Schack that integrates with Google 2fa; it’s also called Google Authenticator. Installing and using this plugin is quite easy—and the security benefit is significant.

Google Authenticator WordPress Plugin by Henrik Schacks

This tutorial will walk you through setting up the Google Authenticator WordPress plugin for your own sites.

From your WordPress Dashboard, go to install a new plugin and search for Google Authenticator, and click Install Now:

Install the Google Authenticator Plugin

Then, click Activate Plugin:

Activate the plugin

From the dashboard, click Users > Your Profile and scroll down to the Google Authenticator settings:

Google Authenticator Plugin Settings

Click on the checkbox for Active. Modify the description so that you will recognize the site on your Google Authenticator mobile app and show the QR code.

Note that the plugin works for multiple users—and each user has the choice of enabling it for themselves.

From your mobile Google Authenticator App, click the upper right pen (for editing). Click the plus sign at the bottom for adding a site. Choose to scan the barcode and point your camera at the QR code. The process is quite fast.

Add Your WordPress Site to Mobile Google Authenticator App

Log out of your WordPress site and you should see the additional field for Google Authenticator on your login screen!

WordPress Login with Google Authenticator Two Factor Authentication

To log in, enter your username and password as usual, but visit your Google Authenticator mobile app to get the additional code for logging in. The codes are time-critical and expire every few minutes.

Retrieve your mobile authenticator code to login

Congratulations, you’ve successfully implemented two-factor authentication on your WordPress site.

In writing this tutorial, I was accidentally logged out of my site before I had registered my site with the mobile app. I couldn’t log back in—but luckily, there is a simple solution listed on the plugin support page.

I just had to log in via SSH to my server and change the name of the plugin folder temporarily. Then, I logged back into WordPress, reset the plugin folder name, added my site on my mobile app, and I was good to go.

Another way to do this is through the database using a tool such as PHPMyAdminand these queries. If you’re not self-hosting, you may need to request help from your hosting company.

I hope you’ve found this useful; now go secure your WordPress sites.

Please post any comments, corrections or additional ideas below. You can browse my other Tuts+ tutorials on my author page or follow me on Twitter @reifman.


from :–cms-22263

[quote font=”verdana” font_size=”14″ font_style=”italic” color=”#474747″ bgcolor=”#F5F5F5″ bcolor=”#dd9933″ arrow=”yes” align=”centre”]This Demo Content Brought to you by Momizat Team [/quote]

this is tags and keywords : wordpress themes momizat Tutorial wordpress templates



1.700 Comentários

  1. Richardagilk on

    ordering cialis online australia ed drugs – п»їhow much does cialis cost with insurance
    canadian pharmacy cialis 20mg

  2. My brother recommended I might like this website.
    He was entirely right. This submit actually made my day. You can not believe simply how so much time
    I had spent for this info! Thank you!

  3. My brother suggested I might like this web site. He was totally right.
    This post actually made my day. You can not imagine simply how much time I had spent for this information! Thanks!

  4. Hey there, You’ve done an incredible job.
    I’ll definitely digg it and personally suggest to my friends.
    I am sure they will be benefited from this site.

  5. Pingback: best time to boost on tinder uk

  6. Pingback: free dating sites hawaii

  7. Befitting drink of ivermectin uk buy. ivermectin is foremost taken as a single dosage with a saturated barometer (8 ounces) of water on an deserted need (1 hour in front of breakfast), unless otherwise directed by way of your doctor. To help unburden up your infection, plagiarize this pharmaceutical exactly as directed. Your doctor may penury you to carry off another administer every 3 to 12 months. Your doctor may also rule a corticosteroid (a cortisone-like medicine) championing unfailing patients with river blindness, markedly those with severe symptoms. This is to steal convert the irritation caused before the extermination of the worms. If your doctor prescribes these two medicines together, it is eminent to remove the corticosteroid along with stro-me-ctol. Take them undeniably as directed sooner than your doctor. Do not nymphet any doses. Dosing. The dose of this remedy will be different inasmuch as peculiar patients. Comprehend your doctor’s orders or the directions on the label. The following word includes on the contrary the common doses of this medicine. If your prescribe is different, do not shift it unless your doctor tells you to do so. The amount of prescription that you arrogate depends on the tenacity of the medicine. Also, the crowd of doses you take each period, the experience allowed between doses, and the size of without delay you require the medicament depend on the medical imbroglio for which you are using the medicine.

  8. There was no pother at all in dealing with my end and the fellow of standard was extremely well-mannered and productive and she went above and beyond to hands, so if anyone in z-pack us executives reads this, then please pass on my thanks, and if there is any reward or benefit plan then she should definitely be considered.

  9. I increase the countless maintenance that zithromax z pak 250 mg tablet provides fit my patients. They go the subsidiary mile to helpers patients bear the expense their medications, and they also put up the great accommodation of delivery. Positively, they delivered a medication to a long-suffering of repository on a weekend that lived 40 miles away.