Securing wp-includes A second layer of protection can be added where scripts are generally not intended to be accessed by any user. One way to do that is to block those scripts using mod_rewrite in the .htaccess file. Note: to ensure the code below is not overwritten...

Securing wp-admin

Securing wp-admin Adding server-side password protection (such as BasicAuth) to /wp-admin/ adds a second layer of protection around your blog’s admin area, the login screen, and your files. This forces an attacker or bot to attack this second layer of protection...

Kill PhP Execution

Kill PhP Execution I have mentioned it before and this is by far the most effective hardening you can apply that will really do something for you: #PROTECT [Directory Name] Order Allow, Deny Deny from all This ensures that PHP files can not be executed from within a...

Disable Editing in WP-ADMIN

Disable Editing in WP-ADMIN I am also a big fan of this, too often we’re seeing wp-admin credentials compromised and by allowing someone to edit within your admin panel you give the attack full access to all your files. The easiest way to avoid this is to disable the...

How to Secure wp-config.php File in WordPress

Securing wp-config.php You can move the wp-config.php file to the directory above your WordPress install. This means for a site installed in the root of your webspace, you can store wp-config.php outside the web-root folder. Note: Some people assert that moving...