Title: Installing to a PHP Website
Last modified: August 19, 2016

---

# Installing to a PHP Website

 *  Resolved [Joegir](https://wordpress.org/support/users/joegir/)
 * (@joegir)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/installing-to-a-php-website/)
 * Hi all,
 * I tried the search but was unable to word it to find my issue.
 * I am about to install WordPress to a website that has been entirely written using
   PHP.
 * I want to install to a subdirectory so it will be [http://www.site.com/blog](http://www.site.com/blog)
   
   My concern is that there is already a index.php in the root and I don’t want 
   to mess up the whole site when I add WP, which I believe will overwrite the existing
   index.php file.
 * Am I worrying for nothing or what should I do to prevent this?
 * Any help is greatly appreciated
    Joe

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

 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/installing-to-a-php-website/#post-1875959)
 * You can create Directory (folder) called blog and install wordpress in blog folder
   as that will not mess what is root.
 * then add a link on your main website for wordpress.
 *  Thread Starter [Joegir](https://wordpress.org/support/users/joegir/)
 * (@joegir)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/installing-to-a-php-website/#post-1875962)
 * Thanks Govpatel!
    That is what I thought I had to do but I’m pretty new at this
   and just wanted to be sure.
 * I can start breathing again.

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

The topic ‘Installing to a PHP Website’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [Joegir](https://wordpress.org/support/users/joegir/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/installing-to-a-php-website/#post-1875962)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
