Can WP Ghost Hide the Plugins and Theme You’re Using?
This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.
Yes. WP Ghost hides both: it changes the plugins and themes paths, gives each plugin and theme a random name in the page source, blocks the original paths and can rename style.css, so theme detectors have little to go on.
Why should you hide your plugins and theme?
By default, WordPress exposes your plugin and theme names in the page source through paths like /wp-content/plugins/woocommerce/ and /wp-content/themes/flavor/style.css. Any bot, vulnerability scanner, or theme detector can read these paths and instantly know which plugins and theme you’re running, along with their versions from readme.txt files.
That information is a roadmap for attackers. They cross-reference your plugin names and versions against vulnerability databases to find known exploits. If they find a match, they can launch a targeted attack without any guessing. Hiding your plugins and theme removes this entire reconnaissance step from the attack chain.
How do I hide plugin names and paths with WP Ghost?
WP Ghost gives you multiple layers of plugin hiding, all configured from the same settings page.
Go to WP Ghost > Change Paths > Plugins Security. You’ll find options to change the plugins directory path (so /wp-content/plugins/ becomes something custom), hide plugin names (replaces each plugin’s directory name with a random code), hide all plugins (covers both active and deactivated plugins), and hide the old plugins path (blocks direct access to the original /wp-content/plugins/ URL with a 404).
Enable all of these, click Save, and clear your cache. Where your source used to show /wp-content/plugins/woocommerce/assets/css/frontend.css, it now shows something like /custom-path/a8f3b2/assets/css/frontend.css. Scanners can’t identify the plugin.
For the full walkthrough with screenshots, see the change plugins path tutorial.
How do I hide my theme name and path?
Theme hiding works the same way. Go to WP Ghost > Change Paths > Themes Security. You can change the themes directory path, hide theme names (replaces each theme directory with a random code), hide all themes (includes inactive themes whose files can still be exploited), hide the old themes path (blocks the original URL), and rename the theme style file (changes style.css to a custom name like main.css).
Renaming style.css matters most for themes. Theme detectors look for this file because its header holds the theme name, version and author in a standard format. Rename it and that check comes up empty.
For the full walkthrough, see the change themes path tutorial.
Should I also hide WordPress common paths?
Yes. Hiding plugin and theme names works best when you also block the default WordPress folders. Go to WP Ghost > Change Paths > WP Core Security and switch on Hide WordPress Common Paths. Requests to the old /wp-content/ and /wp-includes/ paths then return a 404 for the file types you select.
You can also select which file extensions to block from the old paths. The most valuable ones to hide are PHP (blocks direct access to vulnerable files), JS (hides JavaScript that reveals plugin structure), and TXT (hides readme.txt files that expose plugin versions).
For complete path security covering every WordPress directory, follow the best practice guide.
How do I verify that plugins and theme are actually hidden?
After saving your settings and clearing all caches, run a quick check. Open your site in a private browser window while logged out and view the page source. Search for your plugin names (like “woocommerce”, “elementor”, “contact-form-7”) and your theme name. If none appear, the hiding is working.
You can also run WP Ghost > Security Check > Start Scan for an automated check that the paths are changed and the old paths are blocked. For an outside check, run your site through a detector like wpthemedetector.com or whatwpthemeisthat.com. If they can’t name your theme or plugins, the hiding works.
Frequently asked questions
Will hiding plugins break any of my plugin functionality?
No. WP Ghost doesn’t physically move, rename, or modify any files. Plugin files stay in /wp-content/plugins/ exactly where WordPress expects them. WP Ghost creates virtual paths through URL rewrite rules. All plugins continue working normally. Deactivating WP Ghost restores all original paths instantly.
Does this hide inactive plugins and themes too?
Yes, if you enable the “Hide All” option for both plugins and themes. This is recommended because deactivated plugins and inactive themes can still be exploited. Their PHP files remain on the server and are accessible through the default path even when not active. If they have a known vulnerability, attackers can target them directly.
Can I choose custom names for individual plugins or themes instead of random codes?
Yes. After enabling Hide Plugin Names or Hide Theme Names, click Show Advanced Options. You’ll see a dropdown where you can select individual plugins or themes and assign custom names. This is useful for developers who need to identify specific assets in the source code while still hiding the real names from the public.
Does this work with WooCommerce and page builders like Elementor?
Yes. WP Ghost works with WooCommerce and page builders such as Elementor, Divi and Bricks. WooCommerce templates that load from your theme folder use the new path automatically, and cart, checkout, product pages and customer accounts work normally through the custom paths.
Will this affect my SEO?
No. Plugin and theme path changes affect asset URLs (CSS, JavaScript, images), not your public page URLs. Search engines don’t index or rank based on plugin file paths. Your content, sitemaps, canonical URLs, and meta data are all completely unaffected.
Does WP Ghost modify WordPress core files?
No. WP Ghost never touches, moves, or renames any file or folder on your server. All path changes are handled through URL rewrite rules and WordPress filters. Deactivating WP Ghost restores all original paths instantly.