Wordfence + AIOS: A Practical WordPress Security Setup Without the Overlap

Wordfence and All In One WP Security can work very well together, but there is a lot of overlap between them.

Both plugins can protect logins, block malicious requests, restrict access, monitor activity and apply additional WordPress security controls. Simply enabling everything in both plugins is not a good strategy. It can create duplicate protection, conflicting rules, unnecessary processing and make it much harder to work out which plugin has blocked something when a problem occurs.

A better approach is to give each plugin a clear job.

Wordfence is the primary security system for the firewall, malware scanning, file comparison, brute-force protection, rate limiting and attack monitoring.

AIOS complements Wordfence with file and server hardening, permission checks, protection for sensitive files and a number of useful WordPress-specific security controls.

The tables below show how I would configure the two plugins together. They identify which plugin should handle each security feature, which overlapping settings should normally be disabled, and where the two plugins can safely complement each other.

The aim is simple: strong everyday WordPress protection without running two competing security systems.

Plugins covered

Wordfence Security – Firewall, Malware Scan, and Login Security

Developer: Wordfence

Availability: Free plugin with paid Premium, Care and Response options.

Official plugin page: Wordfence on WordPress.org

All-In-One Security (AIOS) – Security and Firewall

Developer: Team Updraft

Availability: Free plugin with Premium upgrade available.

Official plugin page: AIOS on WordPress.org

This guide covers the current Wordfence and AIOS plugin interfaces. Menu names and option locations can change between releases, so check the official plugin documentation if a setting has moved.

Firewall and request protection

Security featureWordfenceAIOSRecommended approach
Web Application FirewallFirewall Status: Enabled and Protecting. Protection Level: Extended Protection.6G / 8G firewall rules: OFF. Basic .htaccess protection: ON.Use Wordfence as the primary WAF. Keep AIOS basic server-level hardening enabled, but avoid overlapping broad firewall rule sets.
Fake GooglebotsNo separate setting required here.Block Fake Googlebots: ON.Let AIOS handle this specific check.
Blank User-Agent / Referer POST attacksEquivalent rule: OFF if AIOS handles it.Block POST requests with blank User-Agent and Referer: ON, normally.Enable this in one plugin only. Use AIOS for this specific rule.
Rate limitingEnable Rate Limiting and Blocking: ON.Equivalent rate / lock controls: OFF.Keep request throttling with Wordfence.
Country blockingUse Wordfence if Premium.OFF if Wordfence handles it.Use one country-blocking system only.
404 attack detectionRate limiting / WAF: Primary defence.Smart 404 Blocking: Optional, Premium.Wordfence is normally sufficient. Add AIOS Smart 404 Blocking only if there is a clear need.

Malware scanning and file integrity

Security featureWordfenceAIOSRecommended approach
Malware scanningStandard Scan: ON. Scheduled scans: ON / Daily.Malware scanner: OFF.Use Wordfence as the primary malware scanner.
WordPress core comparisonScan core against repository: ON.No equivalent required.Use Wordfence repository comparison to detect modified core files.
Plugin comparisonScan plugins against repository: ON.No equivalent required.Use Wordfence for repository-backed plugin comparison.
Theme comparisonScan themes against repository: ON.No equivalent required.Use Wordfence for supported repository themes.
File change detectionFile scanning: Primary.File Change Detection: Optional.Wordfence should remain the main file-integrity system. AIOS can provide an additional notification layer if wanted.
PHP execution in uploadsDisable Code Execution for Uploads directory: ON.No duplicate control required.Enable in Wordfence. This is a valuable protection against executable files being run from /uploads/.

Login and brute-force protection

Security featureWordfenceAIOSRecommended approach
Brute-force protectionEnable brute force protection: ON.Login Lockout: OFF.Let Wordfence own login throttling and lockouts.
Failed login thresholdLock out after login failures: 20.OFF.Use the Wordfence threshold only.
Forgot-password thresholdLock out after forgot-password attempts: 5.OFF.Keep this under Wordfence.
Failure counting windowCount failures over: 5 minutes.OFF.Use the Wordfence setting.
Lockout duration1 hour.OFF.A reasonable starting point for a small business site.
Invalid usernamesImmediately lock out invalid usernames: ON.No duplicate rule required.Useful where there are only a few legitimate users.
Blocked usernamesImmediately block usernames: admin plus known bogus names.No duplicate rule required.Never add a real username to the blocked list.
Cookie-based brute-force preventionWordfence handles brute-force defence.OFF.Avoid running a second independent brute-force system.

Passwords, 2FA and login CAPTCHA

Security featureWordfenceAIOSRecommended approach
Breached passwordsPrevent use of breached passwords: ON.No duplicate required.Use Wordfence.
Strong passwordsEnforce strong passwords: Admins and publishers.No duplicate required.Keep password enforcement with Wordfence.
Two-factor authentication2FA: ON for administrators.Two-factor authentication: OFF.Use one 2FA system only.
Login CAPTCHAUse Wordfence if required.Login CAPTCHA: OFF.Avoid two CAPTCHA systems on the same login form.

Username and account protection

Security featureWordfenceAIOSRecommended approach
Login error disclosureDon’t reveal valid users in login errors: ON.No duplicate required.Use Wordfence.
Username discoveryPrevent username discovery through author scans / REST / oEmbed / XML sitemaps: ON.Prevent User Enumeration: OFF.Keep enumeration protection with Wordfence.
admin username registrationPrevent registration of admin: ON.Detect admin username: Use as audit only.Wordfence blocks future registration. AIOS can be used as a check for an existing account.
Display name = usernameNo specific role required.Detect identical login/display names: ON / check.Use AIOS as an account-hardening audit.

File and server hardening

Security featureWordfenceAIOSRecommended approach
PHP file editorNo separate control required.Disable PHP File Editing: ON.Use AIOS to disable theme/plugin editing from WordPress admin.
File permissionsNo primary role here.File Permissions scanner: ON / review.Use AIOS as an audit tool.
Sensitive WordPress filesNo duplicate required.Protect sensitive files: ON.Use AIOS.
Directory browsingNo duplicate required.Disable directory listing: ON.Use AIOS.
Server signatureNo duplicate required.Disable server signature: ON.Use AIOS.
debug.log exposureNo duplicate required.Block access to debug.log: ON.Use AIOS.
WordPress saltsNo direct equivalent.Salt postfix / enhanced salts: ON.Use AIOS.
Database prefixNo action required.Change wp_ database prefix: Do not change purely for security.Avoid unnecessary database modification on an established site.

REST API, XML-RPC and application passwords

Security featureWordfenceAIOSRecommended approach
REST API restrictionsUsername enumeration protection: ON.Disallow unauthorised REST requests: Usually OFF.Protect sensitive user discovery rather than blocking REST generally.
XML-RPC authenticationXML-RPC authentication protection: ON.Disable XML-RPC completely: OFF normally.Keep XML-RPC available where required, but protect authentication abuse with Wordfence.
XML-RPC pingbacksNo separate setting required.Disable XML-RPC pingbacks: ON if available and not needed.Safer than disabling XML-RPC completely.
Application passwordsDisable WordPress application passwords: ON unless required.No duplicate required.Disable unless a genuine integration needs them.

IP blocking and traffic control

Security featureWordfenceAIOSRecommended approach
IP blockingManual IP blocks: Use here.IP Blacklist: Normally OFF.Keep IP blocking in one place, preferably Wordfence.
Rate limitingON.Equivalent controls: OFF.Keep traffic throttling with the primary firewall.
404 probingWAF / Rate Limiting: Primary defence.Smart 404 Blocking: Optional, Premium.Use Wordfence by default. Add AIOS only if needed.

Logging and monitoring

Security featureWordfenceAIOSRecommended approach
404 loggingLive Traffic: Security Only.No duplicate required.Avoid logging every visit. Security Only reduces unnecessary database writes.
Security traffic loggingLive Traffic: Security Only.Audit Log: ON.These serve different purposes and can coexist. Wordfence records attack activity. AIOS records WordPress security and administrative events.
File change monitoringFile scanning: Primary.File Change Detection: Optional.Wordfence remains the main file-integrity tool.

Additional hardening and optional controls

Security featureWordfenceAIOSRecommended approach
Rename login pageNormal login URL is protected by Wordfence.Rename Login Page: OFF normally.Usually unnecessary and can complicate integrations and password resets.
Login whitelistNo need in normal use.Login whitelist: OFF normally.Avoid unless you have a fixed and reliable IP.
Force logoutNo specific requirement.Force User Logout: Optional.Useful on shared machines or multi-user sites, but not essential for a small admin-only site.
Manual registration approvalNo specific requirement.ON only if registration is enabled and approval makes sense.Useful where public registration exists.
Comment spam protectionNo primary role here.ON if comments are enabled.Useful and does not conflict with Wordfence malware protection.
Image hotlink protectionNo primary role here.Optional.Bandwidth protection rather than a major security control.

Why this configuration works

Wordfence and AIOS can work very well together, but only when they are given clearly separated responsibilities.

Wordfence should handle the main defensive tasks:

  • Web Application Firewall
  • malware scanning
  • file integrity checking
  • brute-force protection
  • rate limiting
  • login security
  • attack monitoring
  • IP blocking

AIOS then complements Wordfence with additional WordPress and server hardening:

  • file permission checks
  • sensitive file protection
  • disabling PHP file editing
  • directory listing protection
  • debug.log protection
  • selected account security checks
  • additional WordPress hardening

The important point is that the two plugins should complement each other rather than compete with each other.

Avoid duplicate protection

Enabling the same protection in both plugins rarely makes the site twice as secure.

Instead, it can result in:

  • conflicting lockout rules
  • duplicate CAPTCHA checks
  • overlapping firewall rules
  • unnecessary processing
  • confusing logs
  • difficulty identifying which plugin blocked a legitimate request

Where both plugins offer the same feature, choose one plugin to handle it and disable the equivalent control in the other.

That also makes future troubleshooting much easier.

Some settings depend on the website

The recommendations in the tables are a strong starting point for a normal WordPress business website, but some sites will need different settings.

Take particular care with:

  • XML-RPC if the site uses Jetpack, mobile applications or remote publishing
  • REST API restrictions because many plugins and external services depend on the WordPress REST API
  • Application passwords if external systems connect to WordPress
  • Registration controls if visitors are allowed to create accounts
  • CAPTCHA and login protection if another service already protects the login page
  • Country blocking where legitimate visitors or administrators may connect from different countries

Security settings should always reflect how the website is actually being used.

Security plugins are only one part of WordPress security

Wordfence and AIOS provide useful protection, but they cannot compensate for an abandoned plugin, weak passwords or an unmaintained WordPress installation.

A secure WordPress site should also have:

  • WordPress core kept up to date
  • plugins and themes updated regularly
  • unused plugins and themes removed
  • abandoned software replaced
  • strong, unique passwords
  • two-factor authentication for administrator accounts
  • regular off-site backups
  • periodic review of administrator accounts
  • security alerts that are actually monitored

The objective is not to switch on every available security option.

It is to create a simple, understandable security configuration that can be maintained and monitored over time.

Final check

After configuring both plugins, test the website normally.

Check:

  • administrator login
  • password reset
  • contact forms
  • search
  • front-end forms
  • REST-dependent functionality
  • Jetpack or remote management if used
  • scheduled jobs
  • external integrations

Then review both Wordfence and AIOS logs for unexpected blocks.

A security configuration is only useful if it protects the site without preventing legitimate users and services from using it.