Skip to content

Instantly share code, notes, and snippets.

@technoknol
Created January 27, 2014 06:53
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 technoknol/8644163 to your computer and use it in GitHub Desktop.
Save technoknol/8644163 to your computer and use it in GitHub Desktop.
To Disable directory browsing in Wordpress
// To Disable directory browsing in Wordpress
// Just one line in your .htaccess file
// in your website ROOT
Options -Indexes
// ps : Don't remove any other lines. Just add above code at the END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment