Now that you have learned how to customize the common WordPress paths, and how to protect your login page from Brute Force attacks, it’s time to learn how to hide your website from WordPress theme detectors and hacker’s bots.
Follow the next four steps, and learn what you need to do to fully protect your website.
Note! For the following features, you need to have the Hide My WP Ghost version installed.
Step 1. Hide WordPress Common Paths
If you changed wp-admin, wp-login, wp-content, wp-includes, plugins and themes paths using Hide My WP Ghost, you should now hide the old paths from hackers to protect vulnerable plugins and themes.
To hide the common WordPress paths, you need to switch on the option, “Hide My WP > Permalinks > Hide WordPress Common Paths” and save the settings.
After you activate the option, you can access the /wp-content URL, and you should receive the 404 error (Page not found).
Now it’s time to hide the common WordPress files from hackers, who can easily detect the WordPress CMS if they can access the common WordPress files: /wp-config.php, /readme.html, etc. All these files should be accessible only if you are logged into your website.
Hide My WP Ghost will add a filter to protect all these files if you switch on the option “Hide My WP > Hide WordPress Common Files“.
Step 2. Activate Tweaks
Now activate the main options from Hide My WP tweaks to hide the CMS version, header and referrals.
Switch ON the options:
- Change Paths in Cached Files
- Change Paths in Ajax Calls (optional)
- Hide Versions and WP Tags
- Hide RSD header
- Hide WordPress Comments
- Hide XML-RPC access
- Hide Embed Scripts
- Hide Emoji Icons (optional)
- Hide WLW Manifest Scripts
Step 3. Check the Source Code
It’s time to check the website source code and make sure there are no bit URLs containing /wp-content/.
Most browsers let you see the website’s source-code if you type “view-source:” before your domain, like this:
view-source:https://demo.wpplugins.tips/. Now search for wp- using the search option (Ctrl + F).
If you find URLs containing “/wp-content/”, make sure they were not generated by a cache plugin like Wp-Rocket. If they were, activate the Combine JS and Combine CSS option in Wp-Rocket to add all the JS and CSS in the same file.
If you don’t use a cache plugin, and you want to change some URLs in your source code, use the “Hide My WP Ghost > URL Mapping” option.
Step 4. Use URL Mapping
This option will let you change any URL from your website to one that is more user-friendly.
For example, let’s take the Autoptimize cache URL:
It’s easy to notice that we use Autoptimize to cache the demo website. A more friendly URL would be:
Just enter the source URL in the left field, and the destination URL in the right field, as seen in the image below:
Note! URL Mapping may slow your loading speed if you add too many URLs. Try to limit the URLs to max 10.
Step 5. Use Theme Detectors Tools
If you applied all the steps in the last three lessons, your website should be safe from hacker’s bots, and hidden from all WordPress theme detectors:
We checked with many other detectors, but some of them save a long term cache, and the results are not relevant.
Hide My WP Ghost is a complex security tool and covers all the security needs for a WordPress website.
Note! The plugin is compatible with other security plugins and you don’t have to deactivate all other security plugins if you install Hide My WP Ghost.
To see what Hide My WP Ghost can’t do on your website in order to avoid errors, please read:
Feel free to contact us with feedback and suggestions here
In the next lesson, you will learn how to use the User Events Log feature, and how to set Security Email Alerts in your WPPlugins account.