Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2017 02:27
What would you like to do?
# protect htaccess
<files ~ "^\.ht">
deny from all
# protect wp-config.php
Options -Indexes
<files wp-config.php>
order allow,deny
deny from all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment