To block WP content using WP Ghost, you can change the wp-content
path and then hide it using the option to Hide WordPress Common Paths.
This effectively obscures your WordPress site’s common directories, making it more difficult for automated bots and malicious users to identify and access your site’s content.
- Go to the WP Ghost > Change Paths > WP Core Security page in your WordPress dashboard.
- Change the default
wp-content
path to something unique and not easily guessable. - Switch on the Hide WordPress Common Paths option. This will hide and secure the wp-content path and subpaths.
- Click the Save button to apply the changes.
Your wp-content
directory, which contains themes, plugins, and uploads, is now secured from hacker bot attacks.

The process is user-friendly and is managed from within the plugin’s settings, providing a straightforward way to enhance the security of your WordPress installation.