Title: index.php Root Directory Issue
Last modified: August 18, 2016

---

# index.php Root Directory Issue

 *  [Tom Ford](https://wordpress.org/support/users/softservenet/)
 * (@softservenet)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/indexphp-root-directory-issue/)
 * I have WordPress installed in the root directory of my site. I like how it is
   working in the root, except I am now wanting to insall a non-WP website in the
   root as well.
 * The problem is that the application that I am using for this other site also 
   runs of the basis of an index.php like WP.
 * I know I can change WP to a subdirectory and have it run from there, but am wondering
   if there is a way to keep the WP Blog as is in the root and have it function 
   along side this other application (maybe move the index only to a subfolder or
   otherwise work around this).
 * I have access to Mod-Rewrite commands, but am stuck trying to figure this out.
   Please help with any advice.

Viewing 1 replies (of 1 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/indexphp-root-directory-issue/#post-451757)
 * For sure you can NOT have two index.php files in one directory – not even in 
   the root. You have to decide which application to move in a subfolder: WP or 
   the other script.

Viewing 1 replies (of 1 total)

The topic ‘index.php Root Directory Issue’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/indexphp-root-directory-issue/#post-451757)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
