Available on Free
Features · Configuration

WordPress security hardening, fifteen toggles, applied with one click.

WordPress ships with reasonable defaults but leaves a lot of optional security up to the site owner. Guardian Gaze's hardening menu exposes fifteen specific toggles (disable file editing, kill XML-RPC, hide the WP version, rotate secret keys, lock down wp-config.php, and more) each labelled with the actual trade-off so you can decide what fits your site.

Why hardening matters

The attack surface is bigger than just malware.

Most successful WordPress compromises don't start with malware; they start with a configuration weakness that lets an attacker get in, after which malware is the payload. Hardening closes the doors and windows the attacker would have used. None of these settings are exotic; they're standard WordPress security recommendations made one-click-applyable, with the trade-off of each explained.

The fifteen toggles

Each one is a specific, named control.

1 · Disable File Editor

Removes the Theme and Plugin code editors from /wp-admin/. With this off, an attacker who steals an admin password can't immediately drop a backdoor through the UI.

2 · Disable XML-RPC

XML-RPC is a legacy API used by attackers for brute-force amplification and DDoS reflection. Most modern sites don't need it. Toggle on; turn off only if you use the Jetpack/WP mobile apps.

3 · Hide WordPress Version

Removes the WP version number from meta tags, RSS feeds and HTML comments. Doesn't make you safer per-se, but stops version-targeted attack scripts from confirming you're vulnerable.

4 · Remove Version Completely

The full version, scrubs version from script and stylesheet URLs too. Plugin and theme updates still work; only the version disclosure is suppressed.

5 · Protect Sensitive Files

Blocks direct HTTP access to wp-config.php, readme.html,license.txt, and other files that disclose your stack. Returns 403.

6 · Disable Database Repair

Disables WordPress's repair.php endpoint which can be abused if left active in production. You can re-enable it temporarily via wp-config.

7 · Hide Database Errors

Stops verbose MySQL errors from being shown to visitors. Errors still log to your server-side logs.

8 · Generate Security Keys

Rotates the WordPress secret keys and salts in wp-config.php. Invalidates all current sessions, anyone logged in (legitimate or not) is signed out. Useful after a known compromise.

9 · Randomize Cookie Hash

Salts the WP auth cookie hash so it's unique to your site. Helps against cross-site session prediction attacks.

10 · Filter Uploads

Blocks .php, .phtml,.exe, and other unsafe file types from being uploaded to the media library, even by admins.

11 · Disable Debugging

Forces WP_DEBUG off in production. Debug-level errors disclose paths and stack traces useful to attackers.

12 · Disable Comments

If your site doesn't use comments, disable them sitewide. Closes a vector for SEO spam and stored XSS.

13 · Prevent Site URL Changes

Blocks unauthorised modification of the siteurl andhome options. Attackers redirect these to malicious domains; this toggle freezes them.

14 · Enable IP Whitelisting

Restrict the WordPress admin area to a specific set of trusted IP addresses. Combined with 2FA, this is the strongest configuration for login security.

15 · Robots.txt Blackhole

Adds a hidden forbidden folder to robots.txt. Legitimate crawlers honour it; bots that ignore it and visit the folder get auto-blocked. Useful trap.

Our default recommendation

The seven we suggest turning on for almost every site.

These seven are safe defaults for the vast majority of sites; they close real attack vectors without breaking common WordPress workflows. Turn them on first; revisit the rest if your threat model warrants.

  • Disable File Editor. No legitimate reason to edit theme/plugin code from the WP admin in production.
  • Disable XML-RPC. Unless you use the WP mobile app or Jetpack.
  • Hide WordPress Version. Free; no downside; reduces script-kiddie targeting.
  • Protect Sensitive Files. Stops casual probing for wp-config.php backups, etc.
  • Disable Debugging. Production sites should never run with debug on.
  • Filter Uploads. Prevents the most common file-upload-based shell installation paths.
  • Enable IP Whitelisting (if you have stable IPs to whitelist, pair with 2FA otherwise).

One-click apply

The recommendations preset turns these seven on with a single click. You can always tweak individual toggles afterwards. Hardening changes are reversible, flip a toggle off and the setting returns to WordPress's default.

After-compromise hardening

If you've already been hacked.

Hardening after a confirmed compromise is different from hardening for prevention. Apply these immediately after cleanup to invalidate the attacker's persistence and reduce the chance of re-infection.

  • Generate Security Keys. Forces all logged-in sessions (including the attacker's) to terminate.
  • Force-rotate all admin passwords. Especially for any accounts created during the compromise window.
  • Disable File Editor. Closes the simplest re-infection vector.
  • Enable IP Whitelisting. Even temporarily, restrict admin access to your IP while you complete cleanup.
  • Filter Uploads. If the entry was an upload of an executable, this prevents the same path being used again.
  • Run a full deep scan. After hardening, scan again to confirm no persistence remains.
Tier availability

All fifteen toggles, free.

CapabilityFreeProAgency
All 15 hardening toggles
Recommended-settings one-click apply
Regression alerts (when a toggle gets disabled)
Hardening status in Risk Score
Multi-site sync of hardening profile

Apply the recommended seven in thirty seconds.

Install free, open the Hardening screen, click "Apply Recommendations". You'll have closed the seven most common WP attack vectors before you finish your coffee.