Forums

Can two WordPress sites use the same database? (4 posts)

  1. mbritt
    Member
    Posted 3 years ago #

    Is this possible, or should I backup the database, create a new database, import the backed-up database, and then operate the second site from this second database?

    Thanks!

    Michael

  2. Jeremy Clark
    Moderator
    Posted 3 years ago #

    No you can use just one database the second blog will need a different table prefix.
    Resource:
    http://codex.wordpress.org/Installing_Multiple_Blogs#Single_Database

  3. neononcon
    Member
    Posted 3 years ago #

    Will this allow Site A to be the main site and when the user searches it will pull up results on site A and site B?

    Is there any way to accomplish this?

  4. jesseisrad
    Member
    Posted 3 years ago #

    yeah I think he means creating a dev environment... so you can have one WP instance use the SAME and LIVE db and see how templates work and such without disrupting the live site...

    so how does one do it?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.