Title: Two blogs, one data base, same table prefix
Last modified: August 19, 2016

---

# Two blogs, one data base, same table prefix

 *  [lruneh](https://wordpress.org/support/users/lruneh/)
 * (@lruneh)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/two-blogs-one-data-base-same-table-prefix/)
 * So I’m trying to have two installations of wordpress on the same domain with 
   only one database. I would like these two blogs to pull the exact same content
   from the database, so the table prefixes should be the same in both wp-config
   files.
 * Can this be done?
 * Basically, what I want to do is make a mirror site of the original that I can
   use a a mobile version. I’m aware that there are plugins that generate mobile
   versions, but I’m more inclined to having two blogs, as I’m not a php buff and
   having two blogs will give me more control with my limited knowledge.
 * I apreciate any input. Thanks in advance 😉

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

 *  [ericgallagher](https://wordpress.org/support/users/ericgallagher/)
 * (@ericgallagher)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/two-blogs-one-data-base-same-table-prefix/#post-1177249)
 * I am looking for the same thing. Except my use would be for sample blogs. I would
   like 10 blogs with the same content but different themes. So clients could look
   through them and see differences in layout.
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/two-blogs-one-data-base-same-table-prefix/#post-1177260)
 * @truneh – cannot use same table prefixes, otherwise the other install will write
   over the other or just not work. You might consider using a plugin like [http://wordpress.org/extend/plugins/wordpress-mobile-edition/](http://wordpress.org/extend/plugins/wordpress-mobile-edition/)
   to render mobile content for your readers.
 * [@ericgallagher](https://wordpress.org/support/users/ericgallagher/) – instead
   of having 10 blogs with same content just so you can show off different themes,
   you might want to consider using a [Theme Switcher plugin](http://wordpress.org/extend/plugins/theme-switcher/)
   so your clients can click on a link to the theme.
 *  Thread Starter [lruneh](https://wordpress.org/support/users/lruneh/)
 * (@lruneh)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/two-blogs-one-data-base-same-table-prefix/#post-1177433)
 * [@mercime](https://wordpress.org/support/users/mercime/) – But there must be 
   some way, that I can have a wordpress blog simply pull the content from another
   blog’s database. I mean, if one blog can read tables with certain prefixes in
   a database, it must be possible to configure another to do the same…
 * The question is how I do it? Can anybody help me on this?

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

The topic ‘Two blogs, one data base, same table prefix’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [lruneh](https://wordpress.org/support/users/lruneh/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/two-blogs-one-data-base-same-table-prefix/#post-1177433)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
