Hiding the WordPress site and CMS is a good idea when you want to protect your website from hacker bots attacks.
Usually, bots try to inject scripts and SQL queries into websites, whether they are WordPress or another type of CMS. Most of the attacks target well-known plugins with vulnerabilities that allow access to the WordPress core.
There are 2 ways to hide a WordPress site:
Manually through File Manager with a bit of PHP knowledge
To hide the WordPress Site you need to:
- Hide all the WP headers like RDS, DNS Prefetch, Generator Meta.
- Hide all the WP comments and versions at the end of each file.
- Change and hide the WP common paths like wp-content, wp-includes, plugins, themes and cache directories.
- Hide the files readme.html, xmlrpc.php, install.php, wp-config.php and more.
- Hide classes from source code beginning with “wp-” (make sure the plugins are not using them).
Use a free WordPress plugin
A faster way to hide the WordPress site without coding is to install the WP Ghost plugin.
Read More: Install WP Ghost Lite Plugin