protect your wordpress site

There are a wide variety of tools designed to help WordPress users secure their sites from top to bottom. And as far as we’re concerned, Wordfence Security is one of the best options out there for anyone who just wants their WordPress site security taken care of. 👮

📚 In this article, we’ll dig into what makes Wordfence Security a good choice to protect your WordPress site. Then, we’ll guide you through the process of setting it up and configuring it properly, to make sure your site is safe. ✅

Protect your WordPress site: Introducing the Wordfence Security plugin

Wordfence Security is one of the most full-featured WordPress security plugins available. It enables users to micromanage their site’s security from top to bottom, and even automate it, in the case of premium users. The sheer number of features the plugin offers can be overwhelming at first, but luckily for us, it comes with excellent documentation (and we’ll cover the basics in a minute).

⚙️ Key features:

  • Enables you to scan your WordPress site for vulnerabilities.
  • Alerts you via email if any threats pop up.
  • Supports advanced login security measures.
  • Can automatically block IPs depending on suspicious activity.

👍 Pros:

  • The plugin’s free version packs all the features you need to secure your site.
  • Supports automatic alerts for security threats.
  • It’s entirely open-source.

👎 Cons:

  • Only premium users can schedule and automate security scans.

💳 Price:

We’re using the Wordfence Security free version for the purposes of this tutorial. Licenses for the premium version start at $119 per year per site, and prices vary depending on how many licenses you purchase.

How to set up the Wordfence Security plugin (in 3 simple steps)

Before we begin configuring the Wordfence Security plugin, we need to get it set up. Once you’ve installed and activated the plugin, the following notification will appear on your dashboard:

The Wordfence Security email notification.

Enter your email in the corresponding field and click on Get Alerted. Then close the notification and head to the new Wordfence tab on your dashboard. We’re going to kick things off by setting up advanced login security measures.

Step 1: Set up login security measures 🔒

Let’s get started by clicking on Wordfence > Options and finding the Basic Options section. Underneath, locate and tick the box that says Enable login security:

The Enable login security setting.

Doing so will enable all the plugin’s basic login security features, including Two-Factor Authentication (2FA), strong password requirements, and login limits.

With that taken care of, head further down until you reach the Login Security Options section:

The Login security options.

Wordfence Security’s default login options are quite solid – they force administrators and authors to use strong passwords, prevent the reveal of login errors, and block out users after too many login attempts.

The only option we’d change is how many attempts it takes before users are temporarily blocked, since 20 is too high (in our humble opinion). Going with a lower figure – like five attempts – better prevents brute forcing attempts. Once you’ve updated your settings, go to the bottom of the page and click on Save Changes.

Step 2: How to perform a site-wide scan 🔎

The Wordfence Scan function enables the plugin to take a look throughout your site to find any malicious code or patterns of infection. It’s essentially the same as using an antivirus application to scan your computer – you can use it to locate and patch existing vulnerabilities, but it’s always better to scan your site regularly, just in case.

To use this feature, you need to go to Wordfence / Scan and click the Start a Wordfence Scan button at the top of the page:

The Start scan option.

The yellow boxes below will display both the progress and results of your scan as it moves along:

The Scan Detailed Activity section.

If the scan finds any vulnerability issues on your WordPress site, it will present you with the option to either delete or restore any infected files to their original version. What to do in this case is up to you, but be warned that deleting any critical files could potentially break your site. If you do find a vulnerability, in most cases restoring a clean backup might be the best course of action.

Step 3: How to set up security alerts ⚠️

At the beginning of this section, we guided you through the process of entering your email to receive security alerts from Wordfence Security. When configured to do so, the plugin can send you notifications for several security issues, ranging from automatic IP blocks to login lockouts. Go to Wordfence / Options and scroll down until you find the Alerts section:

The Wordfence Security Alerts settings.

Most of the default options seen above are excellent from a security standpoint, but others can get a bit annoying if you receive emails each time they occur. For example, we recommend that you disable the option to receive an alert whenever someone uses the ‘lost password’ function. It’s a relatively standard event, and in most cases, it will only result in spamming your inbox.

The same applies to receiving alerts when an administrator signs in. Depending on the number of administrators your WordPress site has, this can get quite unwieldy, so uncheck that box. Instead, enable the option right below, which notifies you when an administrator signs in from a new device:

The option to alert you when an administrator signs in using a new device.

In this case, you can quickly assess if an administrator login is out of the ordinary depending on their location and which device they’re using. It’s much more practical than the default setting, and all you have to do is tick a box to enable it.

With that taken care of, we’ve covered all the basic steps to protect your WordPress site using Wordfence Security!

Conclusion 🧐

WordPress security is not something to be taken lightly. As great as the platform is, it’s not 100% safe – but as we mentioned earlier, no CMS ever is [1].

However, as long as you take preventive measures and learn the basics of how to protect your WordPress site, you’ll be well ahead of the curve when it comes to security.

🔰 If you’re ready to take security into your hands, here’s how to protect your WordPress site using Wordfence Security:

  1. Install and activate the Wordfence Security plugin.
  2. Update your login security measures.
  3. Learn how to execute site-wide scans.
  4. Set up advanced security alerts.

If you found this post useful and would like to compare Wordfence Security to some of the other popular WordPress security plugins available, we’ve got three dedicated articles just for that purpose. Check out our posts that compare Wordfence vs Sucuri, Wordfence vs iThemes Security, and Wordfence vs Jetpack to learn more.

Is your WordPress site secure? Have you done enough to protect your WordPress site? Share your experience with us in the comments section below.

Free guide

4 Essential Steps to Speed Up
Your WordPress Website

Follow the simple steps in our 4-part mini series
and reduce your loading times by 50-80%. 🚀

Free Access

1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
NCode Technologies
June 16, 2017 12:22 pm

Thanks for the article, i think it is very important to secure your WordPress website in this insecure online era. You have provided good tips to secure a website with wordfence plugin. It can be really helpful to non-technical users who don’t know much about WordPress but manage a WordPress website.

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!