• thegreyman

    (@thegreyman)


    First off, apologies if this has been dealt with previously, but I couldn’t find it anywhere…

    Is it possible for multiple installs of WP to run from one MySQL DB? Why would I want to do this? Well, I want to run concurrent design variants for one blog, but obviously retain the ability to have it running as a live blog!

    For example, I’d like design one in a sub-directory “v01” and design two as “v02” etc. The idea is that eventually I’ll ask the blog readers to vote on the possible design choices, at which point I’ll need them to be able to access the same blog (effectively) through several URIs. Does that make sense to anyone?

    If I’m being incredibly dense here, please take pity on me! I did attempt to do this by taking the config info and replicating it with a second installation in a sub-directory (so it points to the same original DB) but it’s throwing up a 404 error.

    Hmmm… So I thought it was time to call in those better educated than myself in all matters WP.

    Thanks in advance if you can point me in the right direction…

Viewing 6 replies - 1 through 6 (of 6 total)
  • MichaelH

    (@michaelh)

    It’s just a matter of using a different $table_prefix in wp-config.php.

    See Installing_Multiple_Blogs

    Thread Starter thegreyman

    (@thegreyman)

    Hi MichaelH,

    Thanks for the reply. I actually want the different blog design subversions to display exactly the same posts. IOW, I want to run as many design variants as is necessary (!) but only be posting to one database. It’s not multiple blogs, but multiple design iterations of the same blog, running concurrently. Is this possible?

    Regards,
    TheGreyMan

    Chris_K

    (@handysolo)

    Nope. Not without some major challenges.

    Keep in mind that the URI values from Options -> General are stored (and used!) in the database.

    Perhaps consider setting up multiple blogs, deem one “master” and use a syndication plugin to keep them all in sync with content?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Look into using Theme Switcher plugins instead. Then your users can simply change the theme around to get a different view of the same blog, before you finally settle on one.

    Thread Starter thegreyman

    (@thegreyman)

    Thanks, Otto42, I considered this route, although ideally I wanted to control it more myself. However, this may be my only option… ??

    Thread Starter thegreyman

    (@thegreyman)

    HandySolo, interesting, I’m relatively new to WP (does it show? lol) but will look into that approach, thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is it possible for multiple installs to access one DB?’ is closed to new replies.