Skip to content

Instantly share code, notes, and snippets.

@dipakcg
Created August 26, 2014 04:45
Show Gist options
  • Save dipakcg/dfc3d57c0d7f16455923 to your computer and use it in GitHub Desktop.
Save dipakcg/dfc3d57c0d7f16455923 to your computer and use it in GitHub Desktop.
WordPress - Protect .htaccess file from brute force attacks
# Add the following code in .htaccess to protect .htaccess file from brute force attacks
<Files .htaccess>
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