Title: Replacing Running Web Site
Last modified: August 18, 2016

---

# Replacing Running Web Site

 *  Resolved [kwanbis](https://wordpress.org/support/users/kwanbis/)
 * (@kwanbis)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/replacing-running-web-page/)
 * Hi, i need to replace a static HTML site, with a WP install.
 * How can i do that? I mean, if i install WP from scratch, and start to customize,
   the people looking at it could see all the changes.
 * I want the new page to “suddenly replace” the old one.
 * Is it possible to install and configure on a local server, and then move it to
   the new one? Or install on a subfolder, and then move it to the root?
 * Thanks.

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/replacing-running-web-page/#post-583024)
 * Install in subfolder called wordpress, then to go live, just delete the /wordpress
   part at the end of the Options->General Blog address (URL) and put this index.
   php in your webroot:
 *     ```
       <?php
       /* Short and sweet */
       define('WP_USE_THEMES', true);
       require('./wordpress/wp-blog-header.php');
       ?>
       ```
   
 * Even though the actual WordPress files reside in a sub-directory, an index.php
   file is in your webroot, and the Options->General admin page Blog address (URL)
   is changed so that WordPress acts as your main page. This particular setup is
   described at: [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 *  Thread Starter [kwanbis](https://wordpress.org/support/users/kwanbis/)
 * (@kwanbis)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/replacing-running-web-page/#post-583025)
 * excellent, thanks. Would take a look.
 *  Thread Starter [kwanbis](https://wordpress.org/support/users/kwanbis/)
 * (@kwanbis)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/replacing-running-web-page/#post-583026)
 * Last question, is it “URL” dependant?
 * I mean, if i install in [http://temporalurl.com](http://temporalurl.com), can
   i just move it to [http://finalurl.com](http://finalurl.com)?
 * Thanks.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/replacing-running-web-page/#post-583027)
 * Then review [Moving WordPress](http://codex.wordpress.org/Moving_WordPress)
 *  Thread Starter [kwanbis](https://wordpress.org/support/users/kwanbis/)
 * (@kwanbis)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/replacing-running-web-page/#post-583048)
 * excellent! i’m glad i have decided for WP!

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

The topic ‘Replacing Running Web Site’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 2 participants
 * Last reply from: [kwanbis](https://wordpress.org/support/users/kwanbis/)
 * Last activity: [18 years, 11 months ago](https://wordpress.org/support/topic/replacing-running-web-page/#post-583048)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
