Hide My WP Ghost
  • Features
    • All Security Features
    • Brute Force Protection
    • Limit Login Attempts
    • Website Activity Log
    • Website Security Check
    • Security Tweaks
    • Change Wp-Admin URL
  • Pricing
  • Help
  • Contact
  • Features
    • All Security Features
    • Brute Force Protection
    • Limit Login Attempts
    • Website Activity Log
    • Website Security Check
    • Security Tweaks
    • Change Wp-Admin URL
  • Pricing
  • Help
  • Contact
Buy Now
  • Home
  • How To
  • Hide All WordPress Common Paths And Files With WP Ghost

Hide All WordPress Common Paths and Files with WP Ghost

March 15, 2017

Category:

Moved

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

View on new site
Table of Contents
  • Every Path WP Ghost Can Change
  • Additional Protection Beyond Path Changes
  • What WP Ghost Does Not Change
  • Frequently Asked Questions
    • Do I need to change every path manually?
    • Will changing all paths break my site?
    • Are all these features free?
    • Does WP Ghost modify WordPress core files?
  • Related Tutorials

WP Ghost (formerly Hide My WP Ghost) changes and hides every common WordPress path, blocks access to old paths, and adds firewall rules to prevent exploits. One plugin covers login security, directory paths, API endpoints, and file-level protection. Here is everything WP Ghost can change and how to set it up.

Every Path WP Ghost Can Change

WordPress pathWP Ghost setting locationTutorial
wp-login.phpChange Paths > Login SecurityChange Login Path
wp-adminChange Paths > Admin SecurityChange wp-admin Path
wp-contentChange Paths > WP Core SecurityChange wp-content Path
wp-includesChange Paths > WP Core SecurityChange wp-includes Path
wp-content/uploadsChange Paths > WP Core SecurityChange Uploads Path
wp-content/pluginsChange Paths > Plugins SecurityChange Plugins Path
wp-content/themesChange Paths > Themes SecurityChange Themes Path
wp-comments-post.phpChange Paths > Login SecurityChange Comments Path
author pathChange Paths > User SecurityChange Author Path
REST API wp-jsonChange Paths > API SecurityChange REST API Path
admin-ajax.phpChange Paths > Ajax SecurityChange Ajax Path
Plugin and theme namesChange Paths > Plugins/Themes SecurityChange Plugins Path
Lost password, register, logout, activation pathsChange Paths > Login SecurityCustomize All Paths

WP Ghost also hides the old paths by returning a 404 error (or custom page) when anyone accesses the original WordPress URLs. This blocks both bots and manual probing.

Additional Protection Beyond Path Changes

Path changes are one layer. WP Ghost also provides: 7G/8G Firewall blocking SQL injection and script injection at the server level. Security Headers (HSTS, CSP, X-Frame-Options). Brute Force Protection with reCAPTCHA and login limits. 2FA with passkeys, codes, and email. URL Mapping and Text Mapping for renaming remaining class names and URLs in source code. Country Blocking (Premium). Security Threats Log and Events Log (Premium).

What WP Ghost Does Not Change

WP Ghost intentionally does not change certain things to protect site functionality:

Absolute font and image paths inside CSS files. CSS files can reference fonts and images using absolute URLs. WP Ghost changes these when Change Paths in Cached Files is enabled (WP Ghost > Tweaks). Without this option, paths inside static CSS files are not rewritten. See the Page Builder Image Paths tutorial.

Plugin CSS class names in frontend HTML. Plugin class names (like elementor-widget, woocommerce-product) are not renamed automatically because doing so would break layouts. Use WP Ghost > Mapping > Text Mapping to manually rename specific class names. See the Text Mapping tutorial.

Paths returned through AJAX calls. WP Ghost rewrites paths in the initial HTML output. Some plugins load additional content via AJAX after the page loads. Enable Change Paths in AJAX Calls in WP Ghost > Tweaks to extend path rewriting to AJAX responses.

For a complete overview of limitations and workarounds, see What WP Ghost Can’t Do.


Frequently Asked Questions

Do I need to change every path manually?

No. Select Safe Mode or Ghost Mode and WP Ghost generates predefined custom paths for every location automatically. You can customize individual paths afterward or keep the defaults. See the Preset Security Options for one-click configurations.

Will changing all paths break my site?

No. WP Ghost uses URL rewrite rules that serve files from the original locations through the new URLs. Nothing is physically moved. Your plugins, themes, and media continue working normally. If anything does break, switch to Lite Mode or use the Safe URL to recover.

Are all these features free?

All path changes, the 8G firewall, brute force protection, 2FA, security headers, and text/URL mapping are free. Premium adds Ghost Mode, extended file extension hiding, geo-blocking, Security Threats Log, and Events Log. See the Free vs Premium comparison.

Does WP Ghost modify WordPress core files?

No. All changes use URL rewrite rules and WordPress filters. No files are moved, renamed, or modified. Deactivating WP Ghost restores every default path instantly.


Related Tutorials

Customize All WordPress Paths – the step-by-step guide to configuring every path.

What WP Ghost Can’t Do – full limitations overview with workarounds.

Text Mapping and URL Mapping – rename class names and remaining URLs in source code.

Safe Mode vs Ghost Mode – which security level to choose.

Website Security Check – verify your complete configuration.

Tags:

  • Previous
    How to Set Up WP Ghost on Nginx Server - Step-by-Step Guide
  • Next
    How to Set Up WP Ghost on Bitnami Servers (Apache and Nginx)
  • Installation & Setup
    • Download plugin
    • Activate Hide My WP Ghost
    • Setup in Safe Mode & Ghost Mode
  • Customize Paths
    • Change wp-admin Path
    • Change wp-login Path
    • Hide Language Switcher
    • Change Author Path
    • Change Lost Password Path
    • Change Register Path
    • Change Logout Path
    • Change Activation Path
    • Change admin-ajax.php Path
    • Change Paths in Ajax Calls
    • Change wp-content Path
    • Change wp-includes Path
    • Change uploads Path
    • Change comments Path
    • Change Plugins Path
    • Change Themes Path
    • Change Rest API Path
    • Hide RSD Endpoint
    • Disable XML-RPC access
    • Hide WordPress Common Paths
    • Hide WordPress Common Files
    • Add Security Headers for XSS
    • Firewall Against Script Injection
    • Block Theme Detectors
    • Remove Unsafe Headers
    • Disable Directory Browsing
  • Security Tweaks
    • Redirect Hidden Paths
    • Login Redirect URL
    • Logout Redirect URL
    • Change Paths For Logged Users
    • Change Paths In Cached Files
    • Change Relative to Absolute URLs
    • Change Paths in Sitemaps XML
    • Change Paths in Robots.txt
    • Hide Admin Toolbar
    • Hide WordPress Version
    • Hide HTML Comments
    • Hide IDs from META Tags
    • Hide WordPress Generator
    • Hide Emoji icons
    • Disable Embed scripts
    • Disable WLW Manifest scripts
    • Disable DB Debug in Frontent
    • Disable Right Click
    • Disable Copy-Paste
    • Disable Drag-Drop
    • Disable View-Source
    • Disable Inspect Element
    • Login Page Design
  • URL Mapping and Text Mapping
    • URL Mapping
    • Text Mapping
    • CDN URLs
    • Optimize CSS and JS files
  • Brute Force Attack Protection
    • Activate Brute Force Protection
    • Math Captcha Protection
    • Google reCaptcha V2
    • Google reCaptcha V3
    • Ban IP addresses
    • Whitelist IP addresses
    • Blocked IPs Report
  • Firewall and Geo Security
    • 8G Firewall
    • Geo Security
    • Country Blocking
    • Whitelist IPs
    • Whitelist Paths
    • Blacklist IPs
    • Block User Agents
    • Block Referrers
    • Block Hostname
  • Temporary Logins
    • Global Settings
    • Create Temporary User
    • Edit Temporary User
    • Lock/Unlock Temporary User
    • Delete Temporary User
    • Copy Temporary Login Link
  • Two Factor Authentication
    • Activate 2FA Feature
    • Setting up 2FA Code Scan
    • Setting up 2FA Email Code
    • 2FA Login Monitor
    • Magic Link Login
  • Security Threats Log
    • Activate Security Threats Log
    • Reading Threats Report
    • Responding to Threats
    • GEO Threat Map
  • User Events Log
    • Activate Users Events Log
    • Log User Roles
    • Check User Events Log
    • User Events Email Alerts
  • Website Security Check
    • Run a Website Security Check
    • All The Security Tasks
  • Advanced WP Security
    • Custom Safe URL Parameter
    • Must Use Plugin Loading
    • Priority & Normal & Late Loading
    • Late Loading
    • Add Rewrites in WP Rules Section
    • Clean Login Page
    • Email Notification
    • Preset Security Options

Get Protected

  • Pricing & Plans
  • Install Free Version
  • Free vs Premium
  • Free Security Check
  • One-Click Security Presets
  • Quick Setup Guide
  • Best Practice Settings

Top Features

  • Hide wp-admin & wp-login
  • 7G + 8G Firewall
  • Brute Force Protection
  • 2FA & Passkey Login
  • Country Blocking
  • Security Headers
  • Security Threats Log
  • Temporary Logins

Resources

  • Knowledge Base
  • FAQs
  • Best Practice Guide
  • Plugin Compatibility
  • Theme Compatibility
  • Why WP Ghost
  • Changelog

Company

  • Contact Support
  • Affiliate Program
  • Agency White Label
  • Media Kit
  • Terms of Use
  • Privacy Policy
  • About Us
© 2016 - 2026 WP Ghost. All rights reserved. Powered by AISQ.
Hide My WP uses cookies on the website to give you the most relevant experience by remembering your preferences and repeat visits.
Ok Reject
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT