Title: hide directory index
Last modified: August 18, 2016

---

# hide directory index

 *  Resolved [jriemerm](https://wordpress.org/support/users/jriemerm/)
 * (@jriemerm)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/hide-directory-index/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [jriemerm](https://wordpress.org/support/users/jriemerm/)
 * (@jriemerm)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/hide-directory-index/#post-441339)
 * Hi,
 * Is there a way to get WordPress to disallow directory browsing in any of the 
   upload directories? In order to hide a particular directory I uploaded an empty“
   index.html” file, but is there another way that keeps any such directories from
   being browsed?
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/hide-directory-index/#post-441343)
 * In your .htaccess file add:
    `Options -Indexes`
 *  Thread Starter [jriemerm](https://wordpress.org/support/users/jriemerm/)
 * (@jriemerm)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/hide-directory-index/#post-441349)
 * Wow, that’s simple. Thanks.
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/hide-directory-index/#post-441359)
 * Welcome. Please mark this resolved then?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘hide directory index’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [yosemite](https://wordpress.org/support/users/yosemite/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/hide-directory-index/#post-441359)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
