Skip to content

Instantly share code, notes, and snippets.

@dipakcg
Created August 26, 2014 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dipakcg/0680542cdb8eb19a9fad to your computer and use it in GitHub Desktop.
Save dipakcg/0680542cdb8eb19a9fad to your computer and use it in GitHub Desktop.
WordPress - Protect wp-config.php file from brute force attacks
# Add the following code in .htaccess to protect wp-config.php file from brute force attacks
<Files wp-config.php>
order allow,deny
deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment