Title: installing multiple blogs on one db
Last modified: August 18, 2016

---

# installing multiple blogs on one db

 *  [1withadodo](https://wordpress.org/support/users/1withadodo/)
 * (@1withadodo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/installing-multiple-blogs-on-one-db/)
 * I installed WP on my server, no problem. Then when I installed a second WP in
   a subdirectory with a different domain name when I go to the new site I get the
   first WP. What do I need to do to make a seperate, new WP that runs on the same
   db? thanks–
 * dodo

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

 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/installing-multiple-blogs-on-one-db/#post-168983)
 * You will need to change the prefix for the second installation of WP. By default
   it uses “wp_”, you can change it “wp2_” and it will keep the second blog happy.
 * Regards
 *  [pierrebenoit](https://wordpress.org/support/users/pierrebenoit/)
 * (@pierrebenoit)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/installing-multiple-blogs-on-one-db/#post-168984)
 * You need to install the second wp with a prefix different from the first. The
   prefix is in the wp-config.php
    —————————————————————– $table_prefix = ‘wp_’;//
   example: ‘wp_’ or ‘b2’ or ‘mylogin_’ —————————————————————— By default, this 
   prefix is wp_, choose another: cr_, gb_,.. for the second wp and launch the installation
   see here: [http://www.in-my-catalog.com](http://www.in-my-catalog.com) and two
   other wp blogs
 *  Thread Starter [1withadodo](https://wordpress.org/support/users/1withadodo/)
 * (@1withadodo)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/installing-multiple-blogs-on-one-db/#post-168991)
 * Thank you! The little things….

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

The topic ‘installing multiple blogs on one db’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [1withadodo](https://wordpress.org/support/users/1withadodo/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/installing-multiple-blogs-on-one-db/#post-168991)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
