Title: blocking directory browsing
Last modified: August 24, 2016

---

# blocking directory browsing

 *  [Joe18](https://wordpress.org/support/users/joe18/)
 * (@joe18)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/blocking-directory-browsing/)
 * Working on securing my site. Doing this and that.
    One wordpress information 
   site said to block directory browsing you are to put this line of code in the
   file… .htaccess Options All -Indexes
 * I ended up with a server error.
    More research… I found slightly different information
   on another site that was about wordpress security as well and it said to put.
 * .htaccess
    Options -Indexes
 * No error came up after removing the “All”. But…is it really correct?
 * Just double checking.

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/blocking-directory-browsing/#post-6035074)
 * Yes, it should be just `Options -Indexes`

Viewing 1 replies (of 1 total)

The topic ‘blocking directory browsing’ is closed to new replies.

## Tags

 * [blocking](https://wordpress.org/support/topic-tag/blocking/)
 * [browsing](https://wordpress.org/support/topic-tag/browsing/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/blocking-directory-browsing/#post-6035074)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
