• Hi…
    I’ve created a database on my host. I understand that WordPress is not “multiblog” in the sense that one install can support more than one blog.
    But is this possible…?
    Can I install WP in two separate directories and use each install to support one blog — but have only a single database to contain the data for both?
    This may be a stupid question, but I’m limited to a single database by my host and would like to run two blogs from this account.
    Thanks for any advice.

Viewing 7 replies - 1 through 7 (of 7 total)
  • // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'

    So for blog 2, you could have
    $table_prefix = “wp2_”;
    etc..
    You could have 100 wordpress install in the one database, just so long as the table_prefix is different for each install.

    Thread Starter m327

    (@m327)

    Thank you for the help!

    Can I get some clarification on this? Do I just edit wp-config to add a second line for the additional table? How does that work?
    Or do I reinstall the whole shebang in another directory but with a different value for the table prefix?
    Sorry if this is obvious, and thanks for all the good advice!

    What my English is studied is not good, please give your comments.

    rubyji: you reinstall “the whole shebang” in a new directory w/ a different table prefix ??

    Hello all,
    I tried to install my third wp (1.5.1.3) on one database.
    The first and second installs a while ago were just fine and close to the “5-Minutes” – and still running.
    But here I get the message
    “Already Installed
    You appear to have already installed WordPress. To reinstall please clear your old database tables first. “

    I did change the the config and made sure the prefix is different
    I tried different prefixes such as ‘wp_b3’ then ‘wp_3’ and latest the advice ‘wp3_’

    The message remains.
    What can I do?

    2005-06-30 16:52:02 # 80.136.115.135
    Hello all,
    I solved the problem I posted – see above

    1. install.php
    2. wp-config.php

    Solution:
    The installation message “already installed” is / was correct
    Reason:
    The install.php was that of the second install.
    Suggestion:
    Double-check your filesystem and where you put the relevant data. This information is key to refer to the “right” install.php
    Example:
    website/filename/wp-admin/install.php

    2. wp-config.php
    The process on how to handle this script is ok with respect to what you need to know and put in there.
    In my case I had to add the ip address too (this 1% exception rule) otherwise a message of the kind “cannot find server” pops up within the installation process.

    Ergo: The 5-Minute install is a yardstick, if exceeded, something is going wrong! ??

    Open to me is, where this language module comes into action – in this case “German”, because the initial design is still in English.

    Hope that helps
    Regards
    Andreas

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Two blogs, one database?’ is closed to new replies.