WT Hardening
WordPress hardening without touching your theme: XML-RPC, user enumeration, login limiter, security headers, strong passwords, event log.
Solid choice
WT Hardening is a solid plugin choice in 2026, with a few things worth checking first. It runs on 30+ sites and was last updated 3 days ago, and scores 67/100 on our health check.
- Actively developed — last update 3 days ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 401% vs the previous 30 days
- Small user base (30+ active installs)
- Very few reviews so far
- Needs PHP 8.2 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WT Hardening stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| Brute Force | >100 |
| hardening | #17 |
| security | >100 |
| Security Headers | >100 |
| xmlrpc | #36 |
Version adoption
Share of active sites per release.
About WT Hardening
From the official readme · v1.2.0Description
WT Hardening is a lightweight, modular security plugin that turns on the most important WordPress hardening measures without modifying your theme, wp-config.php, or .htaccess. Everything works through WordPress hooks and can be disabled at any moment with a single click.
The plugin is completely free, without a PRO version, without ads, and without sending data to external servers. Built by the Webmasters.Team crew for daily WordPress work.
Modules
- XML-RPC: blocks
xmlrpc.php(403) and filters the XML-RPC methods. Stops brute-force attacks through the most attacked WordPress endpoint. - User enumeration: hides logins by blocking
/wp/v2/usersin the REST API for unauthenticated users. - Author archive: redirects
/?author=1and author archive URLs to the homepage for visitors who are not logged in, and removes the users sitemap (another enumeration vector). - Hide oEmbed author: strips
author_nameandauthor_urlfrom oEmbed responses (WPScan-detectable user-enumeration vector) and drops the oEmbed discovery<link>tags from<head>. - Hide WP version: removes the
<meta name="generator">tag and redundant meta tags (wlwmanifest, rsd, shortlink), and replaces the?ver=values of front-end assets with a short keyed hash: the versions are not revealed, but the value still changes after every update, so browsers and caches load the new files. - X-Pingback: removes the
X-PingbackHTTP header from all responses. - Login errors: replaces the specific “wrong login / wrong password” messages with a single generic text (does not reveal whether a login exists) on wp-login.php, the WooCommerce login form, REST API application passwords (HTTP Basic auth) and XML-RPC.
- Login limiter: blocks an IP (for IPv6, its /64 network) for X minutes after N failed attempts on wp-login.php, the WooCommerce login form, XML-RPC and REST API application passwords. Repeated lockouts within 24 hours escalate to a long lockout (default: 4th lockout = 24 hours). Shows the number of attempts left, an IP/CIDR allowlist, Cloudflare / reverse-proxy support, one-click unlock in the log and optional email alerts. Administrators can also lock out an address by hand, for the regular or long lockout time or until it is unlocked. Optionally (Apache only, off by default) long and permanent lockouts are also written to
.htaccess, so the server rejects those addresses before WordPress starts. Every address in the logs opens a page about it: failed and successful logins with the accounts involved, WooCommerce orders and comments from it, its lockouts and event log entries. Data lives in dedicated tables (notwp_options), with hourly cleanup of old entries. - File editor: sets
DISALLOW_FILE_EDIT, hiding the theme and plugin editor in the admin (an attacker who compromises an account cannot inject a backdoor through the browser). - Password policy: enforces minimum length and complexity (upper and lower case, digits, optionally symbols) for profile updates, registration, password reset and the REST API users endpoints.
- Security HTTP headers:
X-Frame-Options,X-Content-Type-Options,Referrer-Policy,Permissions-Policy, optionallyHSTS(use with care because browsers cache it for a year) with a separate opt-in forincludeSubDomains. HSTS is also sent when HTTPS ends at Cloudflare or at a trusted reverse proxy (X-Forwarded-Proto). - Event log: records logins (successful and failed), registrations, user changes, plugin activations and deactivations, theme switches, and settings updates. Retention defaults to 30 days. Visible in the admin panel.
Works with WT Notifier
With WT Notifier active, its notifications about logins and failed logins can carry a Check or block IP link (add it in WT Notifier under Links). The link opens the WT Hardening page about the address: who tried to log in from it and with which accounts, whether a login succeeded, WooCommerce orders and comments from it. One click there locks it out. WT Hardening also gives WT Notifier the visitor address it detects, so behind Cloudflare or a reverse proxy the notifications show the real visitor and not the proxy.
What makes it different
- Modular architecture: each module is a separate class and can be disabled in the settings without affecting the others.
- Zero external dependencies: no Composer, no vendor lock-in, no cloud APIs.
- No data leaves the instance: everything stays in the local MySQL/MariaDB database. The only outgoing request is a weekly download of Cloudflare’s public IP range lists (see External services), which sends nothing about your site or visitors.
- Internationalization ready: full coverage with
__()/esc_html__(), a POT file for translators and a bundled Polish translation. - Clean uninstall: when the plugin is removed, options, tables, and cron jobs are dropped.
What WT Hardening does NOT do (by design)
- Does not scan for malware. That is a different problem and a different toolset.
- Does not ship telemetry to the cloud. All data is local.
- Does not add a WAF at the application layer. That belongs to the server or CDN.
For those needs we recommend dedicated plugins (e.g. Wordfence) or an infrastructure layer (Cloudflare, fail2ban).
External services
This plugin connects to one external service: Cloudflare’s published IP range lists. It needs them to recognise requests that come through Cloudflare, so that the login limiter and the event log use the visitor address from the CF-Connecting-IP header only for genuine Cloudflare traffic (and HSTS is sent when HTTPS ends at Cloudflare).
- What is requested: two plain-text files, https://www.cloudflare.com/ips-v4 and https://www.cloudflare.com/ips-v6.
- When: once a week, by a WP-Cron event (
wt_hardening_cloudflare_ranges), and not on visitor requests. - What is sent: nothing beyond a normal HTTP GET request from your server (its IP address and a
WT-Hardening/<version>user agent). No cookies, no site address, no visitor or user data. - The downloaded lists are used only if every line is a valid IP range; otherwise the previous list (or the copy bundled with the plugin) is kept. Developers can turn the update off with the
wt_hardening_update_cloudflare_rangesfilter (returnfalse); the bundled list is then used. - The service is provided by Cloudflare, Inc.: Website Terms of Use, Privacy Policy.
Installation
Standard install
- In the WP admin go to Plugins → Add new.
- Search for “WT Hardening”.
- Click Install and then Activate.
- Open the WT Hardening menu in the admin (shield icon) and configure the modules.
Manual install (via ZIP)
- Download the archive from wordpress.org/plugins/wt-hardening.
- In the WP admin go to Plugins → Add new → Upload plugin.
- Pick the downloaded ZIP, click Install now, and then Activate plugin.
FTP/SFTP install
- Unzip the archive.
- Upload the
wt-hardeningfolder towp-content/plugins/on your server. - In the WP admin go to Plugins → Installed plugins and activate WT Hardening.
After activation all modules are enabled with sensible defaults. If something clashes with your workflow (for example the Jetpack mobile app that needs XML-RPC), just turn off the specific module in the settings.
Changelog
Requires PHP 8.2. Adds manual IP lockouts, a page about each address, optional blocking of long lockouts in .htaccess (Apache, off by default) and WT Notifier integration.
1.2.0
- New: lock out an IP address by hand, for the regular or long lockout time or until it is unlocked, from the login log or the page of an address. Your own address, loopback addresses and the allowlist cannot be locked out.
- New: every address in the login log and the event log opens a page about it: lockout state, accounts tried from it, successful logins (with a warning after failed ones), WooCommerce orders, comments and reviews, lockout history and event log entries. The logs have a Lockout column with one-click buttons.
- New: optional blocking of long and permanent lockouts in
.htaccess(Apache only, off by default). The server rejects those addresses before WordPress starts, so further attempts no longer load the site, the logs or notifications. Turning it on runs a live test and is refused when the server would not apply the rules. - New: WT Notifier integration. Its notifications show the visitor address detected by WT Hardening (Cloudflare, reverse proxy) and can carry a ready-made “Check or block IP” link.
- Requirements: PHP 8.2 or newer (PHP 8.0 and 8.1 no longer receive security updates; the admin notice has announced this since 1.1.1) and WordPress 6.1 or newer, the first WordPress version that supports PHP 8.2.
- Developers: the compatibility aliases for the 1.1.0 class names (
Webmasters\Security\*) were removed; useWebmastersTeam\Hardening\*.
1.1.3
- Translations: the Polish translation follows the WordPress Polish team glossary (for example “Dziennik zdarzeń” and “Dziennik logowania” instead of “Log …”, “email” instead of “e-mail”, “witryna” instead of “strona” for the site).
1.1.2
- New: WT Hardening now lives in the shared Webmasters.Team menu, with Settings, Login log and Event log as tabs of one page and a new About tab (version, links, changelog). The Webmasters.Team menu also lists our other plugins. Old page addresses redirect to the new tabs.
- Tweak: clearer wording and consistent typography (curly quotes, no dashes in sentences) in the plugin texts and this readme.
1.1.1
- Fix: the event log shows true/false for yes/no details (for example
networkon plugin activation) instead of an empty value. - Security: REST API logins with application passwords are now limited. Failed HTTP Basic auth attempts against the REST API were never counted, so passwords could be guessed there without limit. They now count towards the login limiter and lock the IP like wp-login.php failures. While an IP is locked out, the application password is not checked at all and REST requests get a 403 lockout error, even with the correct password. Sites behind server-level Basic auth can turn this off with the
wt_hardening_limit_application_passwordsfilter. - Security: IPv6 clients are locked out per /64 network instead of per single address, so switching addresses within one network no longer bypasses the lockout. IPv4 is unchanged. Developers: for IPv6 the
wt_hardening_lockoutaction now receives the network (e.g.2001:db8:1:2::/64). - New: the plugin interface is in English and ships with a Polish translation (used when the site language is Polish; language packs from translate.wordpress.org take precedence).
- Security:
/?author=1no longer reveals the login. WordPress redirected it to/author/<login>/before the author archive module ran; the module now redirects first. Author URLs of logins that do not exist are redirected the same way (a 301 vs 404 difference revealed which logins exist), and the users sitemap is removed while the module is on. - Security: the password policy now also applies to the REST API (
/wp/v2/users,/wp/v2/users/me), which previously accepted any password. - Security: the “Login errors” module now also covers the REST API and XML-RPC. Failed application password (HTTP Basic auth) logins return the same
invalid_credentialserror (401) for an unknown username, an unknown email and a wrong password, and XML-RPC returns the same fault for both. Failed attempts are still counted by the login limiter. - HSTS:
includeSubDomainsis now a separate setting (HSTS: include subdomains). Sites that already had HSTS enabled keep sending it after the update; new installations start with it off, because it forces HTTPS on every subdomain.preloadis never added. - HSTS is now also sent when HTTPS ends at a TLS-terminating proxy: Cloudflare (recognised by its IP ranges) or the reverse proxy configured in “Site behind Cloudflare / proxy”, which pass
X-Forwarded-Proto: https. The header is ignored from other addresses, also in the default mode. - Fix: sites behind Cloudflare no longer share a few IP addresses in the login limiter. With the default “Site behind Cloudflare / proxy” = No, all visitors were seen with Cloudflare’s edge addresses, so one attacker could lock everyone out. Requests from Cloudflare’s published IP ranges (bundled list, IPv4 and IPv6) now use the visitor address from
CF-Connecting-IPin this mode too; the header is ignored for requests from any other address. The Cloudflare and Reverse proxy modes work as before. - New: Cloudflare’s IP ranges are refreshed weekly from cloudflare.com (WP-Cron, two plain-text files, nothing about the site or its visitors is sent; see External services). A list is accepted only if every line is a valid range; otherwise the previous list, or the copy bundled with the plugin, stays in use. Opt out with the
wt_hardening_update_cloudflare_rangesfilter. - New: the plugin’s admin pages show a dismissible notice when requests come through a reverse proxy on the local network (
X-Forwarded-For/X-Real-IP) while “Site behind Cloudflare / proxy” is set to No. - Security: client IP detection normalises IPv4-mapped IPv6 addresses (
::ffff:203.0.113.5). On servers that report clients this way, the “reverse proxy” mode treated every visitor as a local proxy and trusted a spoofedX-Forwarded-For, which allowed bypassing the login limiter. - Fix: database tables are now created and updated when the plugin is updated, not only on activation, including the event log table and every site of a multisite network.
- Fix: uninstall removes the data from every site of a multisite network; deactivation and uninstall remove all scheduled cleanup jobs.
- Fix: event log retention is applied even while the event log is disabled.
- Fix: “Hide WP version” no longer strips
?ver=in wp-admin, so the block editor does not load stale cached files after updates. - Fix: “Hide WP version” no longer removes
?ver=from front-end assets, which kept visitors on stale cached CSS/JS after updates. The value is now replaced with a 10-character hash keyed with the site’s secret salts: it does not reveal the WordPress, plugin or theme version, but changes whenever the asset version changes. - New: the event log, failed attempts and lockouts are included in the WordPress personal data export and erase tools.
- Privacy: Tools → Erase Personal Data now reports the failed attempt and lockout records it keeps (with their IP addresses, without the username) as retained, with a message explaining that they are a security log deleted automatically. The plugin adds suggested privacy policy text (Settings → Privacy → Policy guide) describing the stored IP addresses, usernames tried, the event log and the retention periods.
- Developers: internal classes renamed (PHP namespace
Webmasters\SecuritytoWebmastersTeam\Hardening); old names kept as aliases for this release. Option, table, hook and cron names are unchanged. - Minor: escaping and markup fixes in the admin pages, “Tested up to” removed from the plugin header.
- New: on PHP older than 8.2 administrators see a notice (Dashboard, Plugins screen and the plugin’s own pages, dismissible for 30 days) and a Site Health recommendation: version 1.2.0 will require PHP 8.2. No external requests are made for this.
1.1.0
- Security: logging in to your own account no longer resets the attempt counter for the whole IP. Previously a successful login cleared all failed attempts from that IP, so on sites with open registration (e.g. WooCommerce) an attacker could log in to their own account every few tries and keep guessing the administrator’s password indefinitely. Now only the attempts for the account that logged in are cleared.
- Security: while an IP is locked out, the password is no longer checked at all (no expensive hashing for the attacker, no “correct password” oracle) and the attempts are no longer stored, so an ongoing attack does not flood the database or the event log.
- Fix: the lockout message is now actually shown. The “Login errors” module replaced it with the generic “invalid credentials” text, so locked-out users never learned they were locked out. The message now also shows the real remaining time.
- New: escalating lockouts. After N lockouts within 24 hours the IP is locked for a longer time (defaults: 4th lockout = 24 hours, configurable, 0 disables).
- New: the attempt counter resets after a configurable number of hours (default 24) and starts from zero after each lockout.
- New: “Attempts left” message under the login error (wp-login.php and WooCommerce).
- New: allowlist of IP addresses and CIDR ranges (IPv4 and IPv6) that are never locked out.
- New: “Site behind Cloudflare / proxy” setting. Cloudflare mode trusts
CF-Connecting-IPonly from Cloudflare’s IP ranges, proxy mode trustsX-Forwarded-Foronly from private-network proxies. Replaces the need for thewt_hardening_trust_proxy_headersfilter (still supported). - New: one-click Unlock in the login log (also resets the escalation history for that IP), plus lockout type, last username and lockout end time.
- New: optional email alert to the administrator on lockouts (all or long only), at most one email per hour.
- New: lockouts and unlocks are recorded in the event log. Developers:
wt_hardening_lockoutandwt_hardening_unlockedactions.
1.0.7
- Compatibility: tested up to WordPress 7.1.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WT Hardening alternatives
All Brute Force plugins →FAQ
WT Hardening: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WT Hardening free?
Yes. WT Hardening is free to download and use from the official WordPress.org plugin directory.
Is WT Hardening safe to use in 2026?
WT Hardening is a solid plugin choice in 2026, with a few things worth checking first. It runs on 30+ sites and was last updated 3 days ago, and scores 67/100 on our health check.
How many websites use WT Hardening?
WT Hardening is active on 30+ WordPress websites and has been downloaded 1,168 times since it launched in May 2026. It was downloaded 506 times in the last 30 days.
Does WT Hardening work with WordPress 7.1?
Yes. The developer has tested WT Hardening up to WordPress 7.2, the latest release. It requires WordPress 6.1 or newer.
What PHP version does WT Hardening need?
WT Hardening requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WT Hardening last updated?
The latest version, 1.2.0, was released on November 26, 2026 (3 days ago).
Who makes WT Hardening?
WT Hardening is developed and maintained by Webmasters.Team.
What are the best alternatives to WT Hardening?
The most popular alternatives to WT Hardening are Limit Login Attempts Securi… (1M+ installs), CloudSecure WP Security (200K+ installs) and Anti-Malware Security and B… (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



