Title: Problem making dev copy on same server
Last modified: August 21, 2016

---

# Problem making dev copy on same server

 *  [davidbreedlove](https://wordpress.org/support/users/davidbreedlove/)
 * (@davidbreedlove)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-making-dev-copy-on-same-server/)
 * Trying to replicate an existing wp site as a dev site on the same hosted server.
   Original is in root/wp-live, copy is in root/wp-dev … ie two sibling folders.
   To begin I copied everything from /wp-live into /wp-dev (via my local HD). Have
   registered a new domain name and pointed it to the /wp-dev URI. DNS registration
   has completed, so browser brings up the wp-dev homepage as expected. But all 
   links in wp-dev jump back to wp-live, as I knew they would until I edit config
   settings. I want to have two separate databases.
 * The instructions in wp codex have me confused; can’t seem to get it to work. 
   Can you point me to instructions for the edits I need to make?

Viewing 1 replies (of 1 total)

 *  [W.P. Ginfo](https://wordpress.org/support/users/wp-ginfo/)
 * (@wp-ginfo)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/problem-making-dev-copy-on-same-server/#post-3709407)
 * This is what I would do [cause it works 😉 ]
 * Step 1: CONTENT
    1. FTP: Make a backup of the **files **of your site, using FTP ‘Filezilla’ [free]
       or your own FTP-program.
        (see: [http://codex.wordpress.org/Using_FileZilla](http://codex.wordpress.org/Using_FileZilla))
    2. Make a backup of the **CONTENT** of the site (the database):
    3. dashboard > tools > export > all content > download exportfile
    4. If required: confirm installation of export tool and run the export
 * STEP 2: Installing the new [dev] site
    1. FTP:Copy the OLD installation to the new folder or subdomain.
        !!NOTE!! Do **
       NOT **copy the OLD `wp-config.php` to the new site
    2. Browser: open the NEW site > The 5 minutes WP-install starts
    3. !! When asked enter the data of the OLD `wp-config.php`, !!IMPORTANT!! enter
       a **DIFFERENT PREFIX** e.g. `dev_` (don’t forget the _underscore)
        This way 
       both sites sit next to each other in the same database, without problem
    4. Import the old database into the dev-site:
    5. Dashboard > Tools > Import > wordpress > choose the backupfile from your computer,
       you just created, and ‘upload file and import;
    6. If required: confirm installation of importtool and run the import
    7. Done!

Viewing 1 replies (of 1 total)

The topic ‘Problem making dev copy on same server’ is closed to new replies.

## Tags

 * [config](https://wordpress.org/support/topic-tag/config/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [W.P. Ginfo](https://wordpress.org/support/users/wp-ginfo/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/problem-making-dev-copy-on-same-server/#post-3709407)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
