Title: Two installations of wordpress 1 database, same posts
Last modified: August 19, 2016

---

# Two installations of wordpress 1 database, same posts

 *  [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/)
 * I am building a new website and want to connect it to the current wp database
   so i can view all the same posts and make changes to them accordingly.
 * I do not want to export import it needs to be live. is this possible? thank you
   in advance!

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

 *  Thread Starter [narkiej](https://wordpress.org/support/users/narkiej/)
 * (@narkiej)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652529)
 * Could someone let me know if this is possible please? Any links -> I can’t find
   anything.
 *  [akdonovan](https://wordpress.org/support/users/akdonovan/)
 * (@akdonovan)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652551)
 * I’ve been googling this months! NO clues as yet, but it MUST be possible…
 *  [kfallman-1](https://wordpress.org/support/users/kfallman-1/)
 * (@kfallman-1)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652552)
 * is the database on same server as new site ? btw.. sounds strange you have to
   do it “live”.. double work..
 *  [akdonovan](https://wordpress.org/support/users/akdonovan/)
 * (@akdonovan)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652555)
 * Yeah, it is.
 * I know it sounds strange, but in this case it will be massively helpful!
 * Cheers!
 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652556)
 * I doubt this is possible. URL info is stored in the db, so if it is correct for
   one installation it will be incorrect for the other. You can probably kludge 
   it & get a similar result by a different method by setting up a master installation&
   pull the content in as a feed into the other installation – in the same way that
   splogs are able to republish other peoples’ content.
 *  [aqee_se](https://wordpress.org/support/users/aqee_se/)
 * (@aqee_se)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652565)
 * This might help you.
    Have a look here: [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652566)
 * > This might help you.
   >  Have a look here: [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
 * I can’t see how that could help.
 *  [nathan12343](https://wordpress.org/support/users/nathan12343/)
 * (@nathan12343)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652567)
 * I can’t think why you’d want to… but all I can think of is forcing one or other
   of the sites to accept it’s URL regardless of what is in the database. Try this:
 *     ```
       define('WP_SITEURL', 'http://www.yoursecondurl.com/');
       define('WP_HOME', 'http://www.yoursecondurl.com ');
       ```
   
 * _obviously change the url details! First URL is where the wordpress files are
   stored._
 * Paste it into the wp-config of the second site. When you change any of the posts
   from either site it will change in the database and therefore show in both sites.
   I have no idea how this would work if you want to use different plugins or activate
   a different theme because all of those settings obviously get stored in the same
   single database.
 * Hope it helps!
 *  [akdonovan](https://wordpress.org/support/users/akdonovan/)
 * (@akdonovan)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652568)
 * Thanks gang!
 * Nothing’s worked yet, but one lives in hope…
 * This would be useful in that we’re building new version of an existing site….
   the existing site has a TON of content (6 years worth), and the new site has 
   a load of new features and ways of displaying that content.
 * ANYWAY! We shall persevere. Any bright ideas appreciated.
 * Cheers!
 *  [aliblackwell](https://wordpress.org/support/users/aliblackwell/)
 * (@aliblackwell)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652662)
 * Any luck with this? I’m in the same place. An import/export could work I suppose
   but it would be way easier to work with the live content…
 * What do we reckon team? Doable?
 * Ta

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

The topic ‘Two installations of wordpress 1 database, same posts’ is closed to new
replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 7 participants
 * Last reply from: [aliblackwell](https://wordpress.org/support/users/aliblackwell/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/two-installations-of-wordpress-1-database-same-posts/#post-1652662)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
