Title: wordpress path problem
Last modified: August 18, 2016

---

# wordpress path problem

 *  Resolved [bellbottombabe](https://wordpress.org/support/users/bellbottombabe/)
 * (@bellbottombabe)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/wordpress-path-problem/)
 * Hi,
    Having just installed word press on my dev server (localhost) all is ok 
   exept for wordpress does not link directly to my pages – i have to keep on adding
   the ‘index.php’ part to everylink as all i see is the actual directory listing
   of files. Even the preview panes while editing in admin show the directory list
   instead of the page (index.php)
 * I have reinstalled 3-4 times (thank god its an easy install routine) and same
   problem. I have added the ‘index.php’ part to the site and BLOG URL in Admin 
   >Main as i thought this may be the answer when i do i get a site without, what
   looks like, any style sheet rules applied – and i cannot get back into admin 
   without deleting all tables and re-installing.
 * any suggestions ??

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/wordpress-path-problem/#post-488278)
 * 1. The two URI values can end ONLY in directory names, no file names.
    2. Your
   setup is wrong: index.php is not among the valid index pages – that’s why you
   see the directory listing. Nothing wrong with your WP install per se. Your dev
   server is not set up properly. Search, google, learn… how to make index.php a
   valid index file.
 *  Thread Starter [bellbottombabe](https://wordpress.org/support/users/bellbottombabe/)
 * (@bellbottombabe)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/wordpress-path-problem/#post-488451)
 * fixed it,
    needed to add index.php line to apache httpd.config DirectoryIndex….
 * cheers
 *  [spencerp](https://wordpress.org/support/users/spencerp/)
 * (@spencerp)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/wordpress-path-problem/#post-488452)
 * Glad to hear you fixed it. 🙂 Can you change the status of this thread to [Resolved]
   now, or..? 😉
 * spencerp

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

The topic ‘wordpress path problem’ is closed to new replies.

## Tags

 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [path](https://wordpress.org/support/topic-tag/path/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [spencerp](https://wordpress.org/support/users/spencerp/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/wordpress-path-problem/#post-488452)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
