Title: Installing in a sub-folder for development
Last modified: August 19, 2016

---

# Installing in a sub-folder for development

 *  [jonikw](https://wordpress.org/support/users/jonikw/)
 * (@jonikw)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/installing-in-a-sub-folder-for-development/)
 * I am setting up a WordPress site for a cust. who has an existing HTML site at(
   say [http://examplesite.com](http://examplesite.com) ). Obviously I do not want
   to disrupt the site while the new site is under development.
 * The following are the steps I have been given to set up WordPress in a sub-folder
   for development (let’s say [http://examplesite.com/wp/](http://examplesite.com/wp/))
   and then make it available at the root level. Can someone please confirm I have
   the following info correct:
 * 1. Create /wp sub-folder and install WordPress
    2. Settings->General for WordPress
   URL: [http://examplesite.com/wp/](http://examplesite.com/wp/) and for Blog URL:
   [http://examplesite.com/wp/](http://examplesite.com/wp/) 3. When ready to go 
   live and make the WordPress site available change the Settings->General for Blog
   URL only to: [http://examplesite.com/](http://examplesite.com/) 4. Put the following
   index.php file in the root:
 *     ```
       <?php
       /* put this file in root folder */
       define('WP_USE_THEMES', true);
       require('./blog/wp-blog-header.php');
       ?>
       ```
   
 * 5. Question, in #4 above do I need to change the /blog to /wp if I have the install
   in a /wp folder?
    6. Update permalinks at Settings->Permalinks (Question – does
   this process change an address such as [http://examplesite.com/wp/about](http://examplesite.com/wp/about)
   to new [http://examplesite.com/about](http://examplesite.com/about) ? 7. delete
   or rename the old index.html from the root 8. redirect old html pages to corresponding
   new addresses
 * Does this look accurate?

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/installing-in-a-sub-folder-for-development/#post-1501377)
 * > 5. Question, in #4 above do I need to change the /blog to /wp if I have the
   > install in a /wp folder?
 * yes
 * > 6. Update permalinks at Settings->Permalinks (Question – does this process 
   > change an address such as [http://examplesite.com/wp/about](http://examplesite.com/wp/about)
   > to new [http://examplesite.com/about](http://examplesite.com/about) ?
 * yes
 * looks like you have a good plan
 *  Thread Starter [jonikw](https://wordpress.org/support/users/jonikw/)
 * (@jonikw)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/installing-in-a-sub-folder-for-development/#post-1501387)
 * thanks for your prompt reply! I appreciate it!

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

The topic ‘Installing in a sub-folder for development’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [jonikw](https://wordpress.org/support/users/jonikw/)
 * Last activity: [15 years, 12 months ago](https://wordpress.org/support/topic/installing-in-a-sub-folder-for-development/#post-1501387)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
