WP Ghost prevents hack attacks before they happen by removing the entry points that bots and hackers rely on. Most security plugins detect attacks after they reach your site. WP Ghost works differently – it changes the predictable WordPress structure that attackers target, filters malicious requests through firewall rules, and enforces login security so bots never get a chance to exploit your site. Here’s a look at the security features that make WP Ghost a complete hack prevention solution.
How WP Ghost Works

Every WordPress site uses the same login paths, the same plugin folders, the same themes directory. Hackers know this, and their bots scan for these entry points around the clock. WP Ghost changes all of them. It replaces default paths with custom ones, adds firewall rules that block injection attacks, and enforces authentication security with 2FA and reCAPTCHA. No files are physically changed – everything works through smart redirects and filters. Your site stays stable, compatible, and fast.
Path Security
Your login page, plugins, and themes don’t need to sit at predictable URLs. WP Ghost lets you change and secure every default WordPress path instantly, from wp-login.php and wp-admin to wp-content, wp-includes, plugin directories, and theme directories. Bots scanning for standard WordPress structure find nothing. This is the foundation of WP Ghost’s approach – if they can’t find the door, they can’t break it.
Learn how to customize your WordPress paths
8G Firewall
WP Ghost includes the 8G Firewall, an advanced ruleset that filters malicious traffic before it reaches your WordPress installation. It blocks SQL injections, cross-site scripting (XSS) attempts, file inclusion exploits, directory traversal attacks, and other common vectors. The firewall runs at the WordPress init level, stopping attacks before any vulnerable plugin or theme code executes.
Learn how to activate Firewall Security
Header Security
Attackers use browser and server headers to look for weaknesses. WP Ghost enforces secure headers including Strict-Transport-Security (HSTS), Content-Security-Policy (CSP), X-Frame-Options, X-Content-Type-Options, and X-XSS-Protection. These headers protect against clickjacking, data leaks, MIME type confusion, and script injection – a layer of protection that works silently in every HTTP response.
Learn how to activate Header Security
Brute Force Protection with reCAPTCHA
Brute force attacks target WordPress logins because the default login page is always at the same URL. WP Ghost stops them with login attempt limits and CAPTCHA challenges. Choose from Math reCAPTCHA (no API keys needed), Google reCAPTCHA V2, V3, or Enterprise. Protection covers the login form, lost password form, registration form, comments, and WooCommerce login.
Learn how to activate Brute Force Protection
Anti-Spam Protection
Spam bots target comment forms and signup pages to inject links, create fake accounts, and waste server resources. WP Ghost’s brute force protection extends to comment forms and registration pages, filtering out bots while keeping forms functional for real users.
Learn how to prevent comment spam
Learn how to prevent signup spam
Two-Factor Authentication
Even if a password gets compromised, WP Ghost keeps your account safe with Two-Factor Authentication. Three methods are available: authenticator app codes, email verification, and Passkeys (Face ID, Touch ID, Windows Hello, hardware security keys). Passkeys eliminate phishing risks entirely because there’s no password to steal.
Country Blocking
Not all traffic is legitimate. If your site serves a specific region, you can block entire countries where hacking activity is concentrated. WP Ghost’s Geo Security feature lets you block by country and by specific paths, so you can allow general browsing while restricting admin access to approved regions only. This is a Premium feature.
Learn how to activate Country Blocking
Ready to try it? WP Ghost is free to install and includes path security, firewall, brute force protection, 2FA, and security headers. Install WP Ghost from the WordPress directory, run a Security Check, and see how many vulnerabilities your site currently has. For the complete setup guide, see WP Ghost Settings Best Practice.
Frequently Asked Questions
Does WP Ghost physically change any files?
No. All path security features work through redirects, rewrite rules, and WordPress hooks. No files are moved, renamed, or modified. Deactivating WP Ghost instantly restores everything to default.
Can I use WP Ghost with Wordfence, Sucuri, or Solid Security?
Yes. WP Ghost works alongside other security plugins. They handle different layers – WP Ghost prevents attacks by reducing the attack surface, while plugins like Wordfence and Solid Security focus on malware scanning and threat intelligence. Use them together for comprehensive protection.
Which features are free?
Path security (Safe Mode and Ghost Mode), 7G and 8G firewall, brute force protection with all reCAPTCHA types, 2FA (Code, Email, Passkey), security headers, temporary logins, and 115+ hardening features are all free. Premium adds the Events Log, Threats Log, country blocking, extended file extension security, and priority support.
Does this work with WooCommerce?
Yes. Every feature listed above is fully compatible with WooCommerce. Cart, checkout, product pages, customer accounts, and AJAX-powered features all work normally.
