best setup for Wordfence.
- 22checks in the recipe
- 22set for you
- 0shown as steps
- 9to take care with
Short answer
Keep the firewall on, lock out after 5 failed logins or password reset tries for at least 4 hours, and require strong passwords that have not leaked. Run scheduled scans, set an alert email, block code from running in the uploads folder, and require two-factor login for administrators and shop managers, with a grace period of at least 7 days.
The Tunewise recipe for Wordfence looks at 22 checks. It starts with: Firewall enabled; Lock out after 5 failed logins; Lock out invalid usernames immediately. Tunewise changes 22 for you. 9 need extra care.
Tested on 2026-10-26 with Wordfence 9.0.2 on WordPress 7.1.3 and WooCommerce 11.2.1.
- Firewall enabledafter: set for you
- Lock out after 5 failed loginsafter: set for you
- Lock out invalid usernames immediatelyafter: set for you
- Lock out after 5 forgot-password attemptsafter: set for you
- Lockout lasts at least 4 hoursafter: set for you
These are real checks from the Wordfence recipe. The ring above fills as each one is done. The picture shows the order of work, not your shop.
Good to know
- Live traffic writes a database row for every visit. Security logging works without it.
- Critical findings are emailed nowhere until an alert address is set.
- A burst of login lockouts is the earliest sign of an attack.
- Changed plugin files are the most common sign of a break in.
the setup, step by step.
The "why" below is what Tunewise tells a shop where the check applies. Tunewise first reads your shop, so you only see the checks that fit it.
Firewall enabled
Medium riskTunewise changes it for youFirewall- Why
- The web application firewall is the layer that blocks exploit attempts against the plugins on your shop.
- Where to find it
- Look for "Firewall" in the Wordfence settings.
Lock out after 5 failed logins
High riskTunewise changes it for youLogin- Why
- The current limit is loose for a site with some administrators that handles customer data.
- Where to find it
- Look for "Failed logins before a lockout" in the Wordfence settings.
Lock out after 5 forgot-password attempts
High riskTunewise changes it for youLogin- Why
- Password-reset floods target the admin accounts on your shop.
- Where to find it
- Look for "Forgot-password attempts before a lockout" in the Wordfence settings.
Lockout lasts at least 4 hours
Medium riskTunewise changes it for youLogin- Why
- Short lockouts let a bot retry against your shop every few minutes.
- Where to find it
- Look for "Lockout length" in the Wordfence settings.
Lock out invalid usernames immediately
Medium riskTunewise changes it for youLogin- Why
- Bots guess usernames like “admin” that do not exist on your shop; locking them early saves server time.
Strong passwords required for publishers
Low riskTunewise changes it for youLogin- Why
- Some administrators and some shop managers can see customer orders; weak passwords are the usual way in.
Block passwords leaked in data breaches
Low riskTunewise changes it for youLogin- Why
- Credential-stuffing attacks reuse leaked passwords against the admin accounts.
Author ID scans blocked
Low riskTunewise changes it for youLogin- Why
- /?author=1 reveals the usernames behind your shop; blocking it removes the first step of a brute-force attack.
Registrations with “admin” usernames blocked
Low riskTunewise changes it for youLogin- Why
- Customers registering on your shop should never be able to take a username that looks like an administrator.
Scheduled scans on
Low riskTunewise changes it for youScan- Why
- Malware in one of the plugins on your shop stays invisible without regular scans.
- Where to find it
- Look for "Scheduled scans" in the Wordfence settings.
Scan plugin files against the repository
Low riskTunewise changes it for youScan- Why
- Modified plugin files are the most common sign of a compromise on sites like your shop.
Malware signatures scan
Low riskTunewise changes it for youScan- Why
- Known malware patterns in the plugins on your shop are checked only when this scan is on.
Alert email set
Low riskTunewise changes it for youAlerts- Why
- Critical findings on your shop are emailed nowhere until an address is set.
Alert on login lockouts
Low riskTunewise changes it for youAlerts- Why
- A burst of lockouts is the earliest sign of an attack on your shop.
Alert when an administrator signs in
Low riskTunewise changes it for youAlerts- Why
- With some administrators, an unexpected admin login should reach your inbox.
Live traffic view off
Low riskTunewise changes it for youPerformance- Why
- Live traffic writes a database row for every visit to your product pages; security logging works without it.
- Where to find it
- Look for "Live traffic view" in the Wordfence settings.
Code execution in uploads blocked
Medium riskTunewise changes it for youHardening- Why
- Some files live in the uploads folder; a PHP file dropped there should never run.
Verified search engines never blocked
Medium riskTunewise changes it for youFirewall- Why
- Rate limiting that blocks Googlebot costs your shop rankings for some pages.
Two-factor required for administrators
High riskTunewise changes it for youLogin- Why
- Some administrators can see customer orders and none are forced to use 2FA; a grace period lets each one enrol first.
Two-factor required for shop managers
High riskTunewise changes it for youLogin- Why
- Some shop managers see orders and customer addresses.
2FA grace period of at least 7 days
Low riskTunewise changes it for youLogin- Why
- Gives the administrators time to enrol before 2FA is enforced.
- Where to find it
- Look for "Two-factor grace period" in the Wordfence settings.
Leave these alone or take care
- The login lockout limits and required two-factor login are high risk: set wrong, they lock real people out. The grace period lets each administrator enrol first.
- The firewall, the lockout length and blocking code in uploads are medium risk. Check that the site and your logins still work after they change.
- Never let rate limiting block verified search engines. That costs rankings.
These checks carry more risk, or Tunewise does not change them by itself. For those it shows you the steps and you decide.
- Firewall enabledMedium risk
- Lock out after 5 failed loginsHigh risk
- Lock out after 5 forgot-password attemptsHigh risk
- Lockout lasts at least 4 hoursMedium risk
- Lock out invalid usernames immediatelyMedium risk
- Code execution in uploads blockedMedium risk
- Verified search engines never blockedMedium risk
- Two-factor required for administratorsHigh risk
- Two-factor required for shop managersHigh risk
It depends on your shop
2 of 22 checks only apply to some shops. This is what each one depends on.
- Live traffic view off: depends on the kind of site you run (a store).
- Two-factor required for shop managers: depends on whether you have shop managers.
Tested on
- Wordfence version
- 9.0.2
- Test date
- 2026-10-26
- WordPress
- 7.1.3
- WooCommerce
- 11.2.1
- Versions the recipe fits
- 7.11 to 9.0.x
- After each change
- Tunewise checks the home page, product page, cart and checkout, sitemap, PHP errors, robots.
- Recipes file
- Version 1.33.0, signed, checked before this page was built.
What changed in this recipe
- Tested on 26 October 2026 with Wordfence 9.0.2 on WordPress 7.1.3: 50 settings read with the right kind of value, 1 not saved yet but known to the plugin, none missing. We know versions 7.11 to 9.0.x.
Questions and answers
What is the best setup for Wordfence?
Keep the firewall on, lock out after 5 failed logins or password reset tries for at least 4 hours, and require strong passwords that have not leaked. Run scheduled scans, set an alert email, block code from running in the uploads folder, and require two-factor login for administrators and shop managers, with a grace period of at least 7 days.
What does Tunewise check in Wordfence?
Firewall enabled; Lock out after 5 failed logins; Lock out after 5 forgot-password attempts; Lockout lasts at least 4 hours; Lock out invalid usernames immediately; Strong passwords required for publishers; Block passwords leaked in data breaches; Author ID scans blocked; Registrations with “admin” usernames blocked; Scheduled scans on; Scan plugin files against the repository; Malware signatures scan; and 10 more.
Can Tunewise change the Wordfence settings for me?
Yes, for 22 of 22 checks. Every change is explained first, checked after, and can be undone.
Which Wordfence settings need care?
Firewall enabled (medium risk); Lock out after 5 failed logins (high risk); Lock out after 5 forgot-password attempts (high risk); Lockout lasts at least 4 hours (medium risk); Lock out invalid usernames immediately (medium risk); Code execution in uploads blocked (medium risk); Verified search engines never blocked (medium risk); Two-factor required for administrators (high risk); Two-factor required for shop managers (high risk).
Which Wordfence settings should I leave alone?
The login lockout limits and required two-factor login are high risk: set wrong, they lock real people out. The grace period lets each administrator enrol first. The firewall, the lockout length and blocking code in uploads are medium risk. Check that the site and your logins still work after they change. Never let rate limiting block verified search engines. That costs rankings.
Does the best setup for Wordfence depend on my shop?
Yes, for 2 of 22 checks. For example, "Live traffic view off" depends on the kind of site you run (a store).
Which version of Wordfence was this tested on?
Tested on 2026-10-26 with Wordfence 9.0.2 on WordPress 7.1.3 and WooCommerce 11.2.1. The recipe fits versions 7.11 to 9.0.x.
Plugin names and icons belong to their owners. Tunewise is not affiliated with or endorsed by them. The icon comes from the plugin's own listing on WordPress.org.
Let Tunewise set up Wordfence for your shop
The free plugin reads your shop and shows your plan before anything changes. Update Guard is on from the first minute.