WordPress
Wordfence Settings for the Free Version, and How to Read Its Alerts
The Wordfence settings that matter most in the free version are not the ones on the dashboard. Out of the box, Wordfence leaves plugin and theme file checks off, emails you about every blocked bot, and runs its firewall in a mode that loads after WordPress has already started. Change about a dozen options and it becomes quieter and stronger at the same time.
This guide covers those changes, screen by screen, as of Wordfence 9.0 (October 2026). Then it covers the part most setup guides skip: how to read the alerts, so you know which emails mean "look today" and which mean "nothing to see here".
If you'd rather have someone set it up and read the alerts for you, tell me about your site in the questionnaire. I reply with a plan and a fixed quote within one business day.
What the free version of Wordfence gives you
Wordfence is a security plugin that adds a firewall, a malware scanner and login protection to WordPress. The free version is free for unlimited sites. The main difference from Premium is timing: per the plugin's own listing, firewall rules and malware signatures reach the free version 30 days after Premium gets them. Premium also adds a real-time list of known bad IP addresses and country blocking.
For a small business site that stays updated, the free version is a good fit. The 30-day delay matters most for sites that fall behind on plugin updates, because that's exactly the window attackers use.
Since version 9.0, released in August 2026, the free version also supports passkeys (logging in with a fingerprint, face or device PIN) alongside the two-factor authentication it has had for years.
Step 1: Firewall settings in Wordfence
Go to Wordfence > Firewall > Manage Firewall.
Learning Mode
A new install runs the firewall in Learning Mode for one week. Wordfence's Learning Mode documentation explains that during this time, requests that would normally be blocked get added to an allowlist instead, so your own plugins don't trip the firewall later.
Keep the week on a healthy site. Skip it on a site that was recently hacked or is under attack. Wordfence's own advice in that case is to go straight to "Enabled and Protecting", because Learning Mode would happily allowlist the attacker's traffic as "normal".
Extended Protection
This is the most important firewall setting. In "Basic WordPress Protection", the firewall starts after WordPress has loaded, so a vulnerable plugin file opened directly can run before Wordfence wakes up. "Extended Protection" makes the firewall run first, through a PHP setting called auto_prepend_file.
Click "Optimize the Wordfence Firewall". Wordfence detects your server setup and offers to download backups of .htaccess and .user.ini before it edits them. Download both. The optimization guide also covers hosts where you set the value manually.
One warning for later: if you ever move the site to a new host, remove Extended Protection first (Manage Firewall > Remove Extended Protection) and re-optimize after the move. The setting stores a full file path, and on a new server that path usually doesn't exist. The result is a site-wide 500 error that looks like a server failure. My guide to the usual .htaccess 500 error suspects includes how to spot this one.
Step 2: Brute force protection settings
Still in the firewall options, open Brute Force Protection. Here are the defaults in the current plugin code and what I'd use instead:
| Setting | Default | My setting | Why |
|---|---|---|---|
| Lock out after how many login failures | 20 | 5 | Real people rarely miss 5 times in a row. Wordfence's brute force guide recommends 20 as a safe ceiling, so pick 5 to 10 if your users fumble passwords |
| Lock out after how many forgot password attempts | 20 | 5 | Same logic |
| Count failures over what time period | 4 hours | 4 hours | Fine as is |
| Amount of time a user is locked out | 4 hours | 1 day | Slows down patient bots |
| Immediately lock out invalid usernames | Off | On | Bots guess admin, test, your domain name. Real users rarely mistype their own username. Leave off if you have many customer accounts |
| Immediately block the IP of users who try to sign in as these usernames | Empty | admin, administrator, test |
A free honeypot (a trap). Only if no real account uses those names |
| Prevent the use of passwords leaked in data breaches | Admins only | Admins only, or all publishers | Checks passwords against known breach lists |
| Don't let WordPress reveal valid users in login errors | On | On | Keep |
| Prevent discovery of usernames through "/?author=N" scans, the oEmbed API, the WordPress REST API, and WordPress XML Sitemaps | On | On | Stops bots collecting usernames |
| Disable WordPress application passwords | On | On, unless you use them | Turn off if Jetpack, a mobile app or an outside service posts to your site |
That last row ties into XML-RPC. If you use Jetpack or a remote publishing app, read my guide on whether xmlrpc.php should stay on before tightening anything else.
Step 3: Rate limiting
Open Rate Limiting. In the current plugin code these limits are set to "unlimited" until you change them. Wordfence's rate limiting guide suggests generous page-view limits and tighter limits on "page not found" errors, since vulnerability scanners generate lots of 404s (the "page not found" response) while hunting for weak plugins.
- Enable rate limiting and advanced blocking: On
- If anyone's requests exceed: 240 per minute, throttle
- If a crawler's page views exceed: 120 per minute, throttle
- If a crawler's pages not found (404s) exceed: 30 per minute, block
- If a human's page views exceed: 120 per minute, throttle
- If a human's pages not found (404s) exceed: 30 per minute, throttle (switch to block only after checking your site doesn't produce many 404s on its own)
- How long is an IP address blocked when it breaks a rule: 1 hour
- Allowlisted 404 URLs: keep the defaults (favicon and app icon files)
Keep the setting where verified Google crawlers will not be rate-limited. Throttling Googlebot during a crawl is a strange way to lose rankings.
Step 4: Scan settings that are off by default
Go to Wordfence > Scan > Scan Options and Scheduling. Two of the most useful checks are off in a fresh install:
- Scan theme files against repository versions for changes: turn on
- Scan plugin files against repository versions for changes: turn on
These compare your theme and plugin files with the official copies on WordPress.org, which is how injected code in a plugin file gets caught. Premium plugins and custom themes can't be compared, so those still rely on the malware signatures.
Optional, for small sites on decent hosting: "Scan images, binary, and other files as if they were executable". It catches PHP hidden in a file named photo.jpg, at the cost of longer scans.
Step 5: Global options and alerts
In Wordfence > All Options > Wordfence Global Options:
- Update Wordfence automatically when a new version is released: On. A security plugin running last quarter's code is a decoration.
- Where to email alerts: an inbox someone reads daily, not
info@that nobody checks. - Hide WordPress version: On. Minor, but free.
- Disable Code Execution for Uploads directory: On, if you're on Apache or LiteSpeed. It writes an
.htaccessfile into the uploads folder. If you already added that rule from my .htaccess security template, one copy is enough.
Then the email alert preferences, which decide whether you'll still read Wordfence emails a month from now:
| Alert | Turn it | Why |
|---|---|---|
| Scan issues | On, "high and critical" or "medium" and above | This is the one that matters |
| Wordfence deactivated, firewall deactivated | On | If you didn't do it, someone else did |
| Administrator signs in | On, "only from a new device" | Catches a stolen admin login without daily noise |
| An IP is blocked, someone is locked out | Off | Bots get blocked all day. That's the plugin working, not news |
| Someone with a leaked password signs in | On | Rare and worth acting on |
How to read Wordfence alerts
Most Wordfence emails need no action. A few need action the same day. Here's how I sort them.
Usually noise, check when convenient:
- "Modified file" on
readme.txt,style.cssor language files. Often a plugin author changed the file without bumping the version. Click "View Differences". If only text or styling changed, choose "Ignore until the file changes". - "Plugin has been removed from wordpress.org" or "abandoned". Not an infection, but a warning. Plan a replacement within weeks, not years.
- Lockout and block summaries. Proof the firewall works.
Look at it today:
- Modified PHP file in core, a plugin or a theme. Open "View Differences". Real infections usually show a block of unreadable text, often with
eval,base64_decodeorgzinflate. My guide to eval(base64_decode) in WordPress files shows what to do with it. Never "ignore" a PHP change you don't understand. - "File appears to be malicious". Don't just click delete. Note the file path and the date, because the file that got in is rarely alone.
- Unknown file in the WordPress core folders. WordPress core doesn't grow new files on its own.
- An administrator account you don't recognize, or an admin login from a new device you don't know. Change passwords from a clean computer, then check the Users screen and Search Console's owner list.
- Publicly accessible config, backup or log file. Someone left
wp-config.php.bakor a database dump in the web folder. Delete it after downloading a copy to your computer. - Known vulnerability in a plugin. Update now, or deactivate the plugin until an update exists.
If several of the "today" alerts arrive together, stop treating them one by one. That pattern usually means a cleanup, not a fix.
Final thoughts
Wordfence free is a solid layer when it's configured: Extended Protection on, plugin and theme comparison on, brute force limits tightened, and alerts trimmed to the ones that need a human. It doesn't replace updates, backups or good passwords, and it can't clean up what it missed before you installed it.
If you'd rather not be the person reading those emails, my maintenance plan for WordPress sites covers updates, backups and security monitoring from $250 a month.
Wordfence settings FAQs
What are the best Wordfence settings for the free version?
Turn on Extended Protection, set brute force lockouts to around 5 failures with a 1-day lockout, enable rate limiting with a 30-per-minute 404 limit for crawlers, and switch on plugin and theme file comparison in the scan options. Then trim email alerts to scan issues, deactivation warnings and admin logins from new devices. Those changes matter more than any premium upgrade for most small sites.
Is Wordfence free good enough for a small business website?
For most small business sites that stay updated, yes. The free version has the same firewall engine and scanner as Premium. The difference is that new firewall rules and malware signatures arrive 30 days later, and there's no real-time IP blocklist. If you often fall behind on updates or run an online store, Premium or a host-level firewall is worth considering.
Should I keep Wordfence Learning Mode on?
Keep it on for the first week on a healthy site, so Wordfence learns which requests your plugins normally make. Turn it off immediately if the site was recently hacked or is under active attack. In that case Learning Mode could allowlist the attacker's requests as normal behavior. Wordfence recommends going straight to "Enabled and Protecting" in that situation.
Why does Wordfence send so many emails?
Because several alert types are on by default, including one for every blocked IP and every lockout. On a public website that can mean dozens a day, all reporting bots that were already stopped. Turn off block and lockout alerts, keep scan issue alerts at medium or high severity, and set admin login alerts to new devices only.
Does Wordfence slow down WordPress?
It adds some load, mostly from scans and the firewall checking each request. On decent hosting, visitors rarely notice. Scans can strain cheap shared hosting, so schedule them for quiet hours or enable the low resource scanning option. Live Traffic logging is off by default in current versions, and leaving it off on busy sites helps.
Want someone to set this up and actually read the alerts? Send me a few details and I'll come back with a plan.
Want a second pair of eyes on your site?
Tell me what's going on in the wordpress maintenance questionnaire. I reply with a plan and a fixed quote within one business day.