WP Ghost – Why You Need This Hack Prevention Plugin for WordPress

Moved

This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.

View on new site

WP Ghost is a hack prevention WordPress plugin that secures default paths, blocks hacker bots with an 8G Firewall, adds 2FA with passkeys, and includes brute force protection – all with zero performance impact.

What Is WP Ghost and Why Does Your Site Need It

WP Ghost (formerly Hide My WP Ghost) is a proactive hack prevention plugin for WordPress. It protects your website by changing and securing every default WordPress path, blocking malicious bot traffic through a built-in firewall, and adding multiple layers of authentication security. The result: bots can not find your plugins, themes, or login page, so they have nothing to attack.

Most WordPress security plugins work reactively. They scan for malware after your site has already been compromised. WP Ghost works differently. It prevents the compromise from happening in the first place by removing the attack surface that bots rely on.

Why Paths Security Matters

Every WordPress site uses the same predictable paths: /wp-admin, /wp-login.php, /wp-content/plugins/, /wp-content/themes/. With WordPress powering over 43% of all websites, hacker bots do not need to guess where things are. They already know.

Bots scan millions of sites per day, firing requests at these default paths and waiting for a valid response. When a path responds, the bot launches the matching exploit. The site owner usually has no idea it is happening. According to Wordfence, WordPress sites face an average of 90,000 attacks per minute globally, and the vast majority are automated.

WP Ghost changes all these predictable paths to custom URLs you control. Once changed, the old paths return a 404 error. Bots can not confirm the site runs WordPress, so they move on to easier targets. If they can not find the doors, they can not break them down.

Default Paths vs. Secured Paths

WordPress PathDefault (Vulnerable to bots)Secured with WP Ghost
Admin dashboard/wp-admin//your-custom-admin/
Login page/wp-login.php/your-custom-login/
Plugins directory/wp-content/plugins//custom-assets/extensions/
Themes directory/wp-content/themes//custom-assets/layouts/
Uploads folder/wp-content/uploads//custom-assets/media/
REST API/wp-json//custom-api/
Old paths accessible?Yes (exploitable)404 Not Found

What WP Ghost Protects You Against

WP Ghost is not a single-feature plugin. It is a complete hack prevention suite with 115+ free features and 150+ premium features. Here is what it covers:

Path Security

Change and secure every common WordPress path: wp-admin, wp-login.php, wp-includes, wp-content, plugins, themes, uploads, REST API, author paths, comments, admin-ajax.php, lost password, register, activation, and logout. Hide common files like wp-config.php, readme.html, license.txt, and debug.log. Individual plugin and theme names can be customized so no one can identify what you are running. Learn more at Customize Paths with WP Ghost.

8G Firewall

The built-in 8G Firewall operates at the server edge, blocking SQL injection, script injection, XSS, file inclusion, and directory traversal attacks before they reach WordPress. It works through lightweight server rules, so malicious requests are stopped before PHP even loads.

Brute Force Protection

Brute Force Protection guards your login, registration, lost password, and comment forms with Math reCAPTCHA, Google reCAPTCHA V2, and Google reCAPTCHA V3. You can set custom attempt limits and timeout durations.

Two-Factor Authentication

2FA by code (Google Authenticator), 2FA by email, and 2FA by passkey (Face ID, Touch ID, Windows Hello, hardware security keys). All three methods are included in the free version. Passkeys eliminate phishing risks entirely because the cryptographic challenge is bound to your specific domain.

Security Headers and Hardening

Security headers like HSTS, CSP, X-Frame-Options, and X-XSS-Protection. Disable XML-RPC, REST API for non-authenticated users, directory browsing, right-click, inspect element, copy-paste, and drag-drop. Hide WordPress version, generator meta, RSD headers, and HTML comments from source code.

Monitoring and Logs (Premium)

Security Threats Log tracks every blocked attack in real time. User Events Log monitors admin actions. Country Blocking restricts access from high-risk regions. IP Block Automation permanently bans repeat offenders. Email alerts notify you of failed login attempts and suspicious activity.

Zero Performance Impact

One of the most common concerns with security plugins is speed. Heavy file scanners and database checks can slow your site down significantly. WP Ghost takes a completely different approach.

The firewall operates at the server edge using lightweight rewrite rules. Path security works through server configuration and output filters, not heavy PHP processing. No database scans, no file system crawling, no background processes eating your server resources. Most users see zero measurable impact on page load time.

In fact, by blocking bot traffic before it reaches WordPress, WP Ghost can actually reduce your server load. Fewer malicious requests means more CPU and memory available for your legitimate visitors.

Compatible with Everything You Already Use

WP Ghost is tested and compatible with the tools most WordPress sites rely on:

Servers: Apache, Nginx, LiteSpeed, IIS, and hybrid configurations.

Hosting: WP Engine, Kinsta, SiteGround, GoDaddy, Cloudways, Flywheel, InMotion, Bitnami, RunCloud, Plesk, and 20+ more. See the full Plugin Compatibility List.

Cache plugins: WP Rocket, LiteSpeed Cache, Cloudflare, W3 Total Cache, WP Super Cache, Autoptimize, Breeze, Hummingbird, and more.

Security plugins: Wordfence, Solid Security, Shield Security, Sucuri, and others.

Page builders and e-commerce: WooCommerce, Elementor, Divi, WPML, and 50+ plugins.

WordPress Multisite: Full support for both subdomain and subdirectory configurations.

One-Click Setup with Ghost Mode

You do not need to be a security expert to configure WP Ghost. The plugin includes three one-click security presets that configure the most important settings automatically. Ghost Mode (Premium) applies the maximum security configuration in a single click, changing all paths, hiding all file extensions, and enabling every available protection.

For the quickest start, follow the Safe Mode setup guide. It takes about 3 minutes and requires no technical knowledge. For the complete recommended configuration, see WP Ghost Settings Best Practice.

Frequently Asked Questions

What is the difference between WP Ghost Free and Premium?

The free version includes 115+ features: full path security (Safe Mode), 7G and 8G Firewall, brute force protection with all reCAPTCHA types, 2FA (code, email, passkeys), security headers, temporary logins, and text/URL mapping. Premium adds 35+ features for a total of 150+ including Ghost Mode, Security Threats Log, User Events Log, Country Blocking, IP Block Automation, extended file extension security, and priority support. See the full comparison at WP Ghost Free vs Premium.

Will WP Ghost slow down my website?

No. The firewall operates at the server edge using lightweight rules, and path security works through rewrite rules rather than database scans. By blocking bot traffic before it reaches WordPress, WP Ghost can actually reduce server load.

Does WP Ghost modify WordPress core files?

No. WP Ghost uses server rewrite rules (.htaccess on Apache, config files on Nginx) and WordPress hooks. No core files are moved, renamed, or modified. Deactivating the plugin restores all default paths instantly.

Can I use WP Ghost with WooCommerce?

Yes. WP Ghost is fully compatible with WooCommerce. Cart, checkout, product pages, customer accounts, and AJAX-powered features all work normally with secured paths.

Do I still need other security plugins?

WP Ghost provides a comprehensive hack prevention foundation on its own. If you also want malware scanning and file integrity monitoring, you can run WP Ghost alongside Wordfence or Sucuri. They handle different layers and complement each other well.

How do I know if WP Ghost is working?

Run the built-in Security Check at WP Ghost > Security Check, then test with real-time theme detectors like WP Theme Detector or WhatCMS. For the full verification guide, see How to Verify Your Site Is Protected.