By implementing these techniques, you can effectively hide the fact that your website is built on WordPress, enhancing both security and aesthetics. Taking these steps will help you create a more secure and professional online presence.
For example, WordPress is a great content management system (CMS), but the fact that your site runs on WordPress can advantage an attacker. Or maybe you just want to brand the site in an original manner that doesn’t reflect WordPress. What can you do? You can do a bit of work to easily obfuscate WordPress.
Hiding that your website is built on WordPress can help to:
For instance, the default WordPress login URL (yourwebsite.com/wp-login.php
) is widely known, making it an obvious target for a brute force attack. You can enhance security by altering this URL, making it a harder target for those not authorized to access it.
Steps to change the login URL:
A feature in WordPress called XML-RPC can be used to remotely access your site, but it can also be used to launch DDoS attacks and brute force attacks against your site. Disabling XML-RPC improves your site’s security.
To disable XML-RPC:
functions.php
file:WordPress puts several meta tags into the header of your site that reveal the version. It’s a good idea to get rid of these; they help break the “this is WordPress” loop.
Here’s how you can remove WordPress meta tags:
functions.php
file to remove version numbers:Another way to disguise the fact that you’re on WordPress is to customize your theme and plugins. Default themes and plugins typically contain comments that are recognizably recycled.
To customize your theme and plugins:
Security plugins can further help you to hide your WordPress site by providing features that can obscure the identity of your WordPress site.
Recommended security plugins:
By hiding the core files of WordPress to the public, such as wp-config.php
and .htaccess
, you won’t be highly prone to unauthorized access and attacks.
Steps to hide core files:
wp-config.php
file to a directory above your root directory..htaccess
rules to deny access to sensitive files:Besides the methods described above, the following ones can add extra security to your site:
You can conceal the presence of WordPress under the hood with these tips, making it harder to hack, and more professional in appearance. You’ve now taken your first steps towards making WordPress more secure and presentable.