Skip to content

Instantly share code, notes, and snippets.

@imelgrat
Last active August 23, 2017 19:42
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 imelgrat/fcfdbcbeabd7d0d5689f to your computer and use it in GitHub Desktop.
Save imelgrat/fcfdbcbeabd7d0d5689f to your computer and use it in GitHub Desktop.
Disable directory browsing using .htaccess. Full article at: http://imelgrat.me/security/wordpress-htaccess-file-protect/
# Disable directory browsing
Options All -Indexes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment