Support » Everything else WordPress » Multiple Installs, Single Database?

  • I’m interested to know if there are any issues or potential problems with installing WordPress 1.5 into multiple directories, and then use the same single database (same tables).
    I would like to have multiple themes setup so that i can develop in one directory and run production in the other. Since both installs will use the same tables and data, content would be identical.
    There is this wiki regarding multi blogs and multiple tables (using prefix), but i’m not interested in creating more tables, with different data sets.
    http://wiki.wordpress.org/?pagename=MultipleBlogs
    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Don’t follow that out-of-date resource. Follow this one:
    http://codex.wordpress.org/Installing_Multiple_Blogs

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    And, for switching themes, you could just use a theme switcher plugin.

    http://dev.wp-plugins.org/browser/theme-switcher/trunk/

    Thread Starter jpettit

    (@jpettit)

    thanks macmanx for the reply.
    I’m not looking to have the 2nd install visable or useable by readers…just a 2nd copy that i will play with and develop with.
    it would seem to me that it should matter to have a ‘copy’ but you never know.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    If you can get your hand on a second MySQL database, I’d recommend that. Once you do, just install WordPress, backup your original site’s database, and then restore it into the new site’s database. Thus giving you two blogs with the same content. For instructions on backup and restore, see the tutorial here:

    http://tamba2.org.uk/wordpress/

    I would like to do the same thing as the OP, but instead of multiple blogs, is it possible to have more than one theme folder used at a time? For example, I would have my live site using themefolder1, and I would have a separate index file point to themefolder2…doable?

    ahem
    Some benefits of using Theme Switcher for testing themes:

    1. It uses your existing blog setup, so
    2. There’s no need for additional installations, or
    3. No need for a test platform running locally, and it
    4. Doesn’t require complicated hacks to “fake” it.

    To use for testing themes, don’t add the tag into your sidebar. Just call the theme up through an url query:

    yoursite.com/yourblog/?wptheme=Name Of Test Theme

    If you already use Theme Switcher and want to provide it to readers, yet want to *hide* test themes, the current version of WordPress (and version 0.3 of Theme Switcher) supports the Status theme header in style.css, so by adding:

    Status: draft

    to your stylesheet, Theme Switcher will not display that theme for selection.

    AH! I didn’t “get it”–I thought switching was global..if I can do that locally without affecting the default theme, this is perfect 🙂

    Thanks Kafkaesqui! I was wanting to do the same thing (install a ‘testbed’ for WordPress, and use my existing DB).

    This is much, much better.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multiple Installs, Single Database?’ is closed to new replies.