Title: Directory is Visible
Last modified: August 20, 2016

---

# Directory is Visible

 *  [staryoocorp](https://wordpress.org/support/users/staryoocorp/)
 * (@staryoocorp)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/)
 * I apologize for this has probably been asked and answered a lot.
 * After I upload my site to my host and then go to my site, it is showing all my
   directory files instead of my home page. How do I fix this?

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

 *  [WP Master](https://wordpress.org/support/users/wordpressmaster/)
 * (@wordpressmaster)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427815)
 * Do you have index.php in that list?
 *  Thread Starter [staryoocorp](https://wordpress.org/support/users/staryoocorp/)
 * (@staryoocorp)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427816)
 * Yes, index.php is in the list.
 *  [WP Master](https://wordpress.org/support/users/wordpressmaster/)
 * (@wordpressmaster)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427818)
 * What type of hosting you are using? VPS/Dedi or Shared?
 *  Thread Starter [staryoocorp](https://wordpress.org/support/users/staryoocorp/)
 * (@staryoocorp)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427820)
 * I believe it is shared.
 *  [WP Master](https://wordpress.org/support/users/wordpressmaster/)
 * (@wordpressmaster)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427821)
 * Did you checked your Directory Index settings? Make one file index.htm inside
   the root and then try to reopen your web url, if a blank page appears then there
   is a problem with Directory Index settings of your server.
    That’s my guess.
 *  Thread Starter [staryoocorp](https://wordpress.org/support/users/staryoocorp/)
 * (@staryoocorp)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427824)
 * Okay. So I uploaded just the index.php file and it is still pointing to my directory.
 *  [WP Master](https://wordpress.org/support/users/wordpressmaster/)
 * (@wordpressmaster)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427828)
 * Not index.php, just make a file with the name index.htm and upload it.
 *  Thread Starter [staryoocorp](https://wordpress.org/support/users/staryoocorp/)
 * (@staryoocorp)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427837)
 * Okay, so I made the index.htm. I left it blank so of course it came up blank 
   in the browser.
 *  [WP Master](https://wordpress.org/support/users/wordpressmaster/)
 * (@wordpressmaster)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427839)
 * It means that your host is only indexing .htm and not .php, it’s a Directory 
   Index related issue.
 * Here’s the list normally recommended:
 * **Solution 1**
    If allowed by your host, putting this in an .htaccess file will
   solve the problem: `DirectoryIndex index.html index.htm index.php`
 * **Solution 2**
    Some hosts allow you to make a change, via their hosting control
   panel, to the DirectoryIndex. It’s typically described as Indexes or Index documents,
   but may also require you to type something like DirectoryIndex index.html index.
   htm index.php or specify index.php as an index type file.
 * **Solution 3**
    Instruct Apache to treat index.php as an index file. If you own
   the server, or have access to the http.conf file, simply modify the DirectoryIndex
   line in httpd.conf to: DirectoryIndex index.html index.htm index.php
 * **Solution 4**
    Contact your host

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

The topic ‘Directory is Visible’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [WP Master](https://wordpress.org/support/users/wordpressmaster/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/directory-is-visible/#post-2427839)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
