Support » Installing WordPress » Multiple blogs on home usernet

  • Hi,
    I have succesfully installed a wp blog on my home system Now I would like to install 2 more should I:
    install mysql again or just wp.
    if so where do I install it or them.
    thanks for any assistance
    regards lindsay

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter LindsayP

    (@lindsayp)

    Thanks,
    I guess I’m being a little over cautious or extra thick, but assuming I use the same database and install another WP do I simply add it to the htdocs folder and name the second wp folder as say: wp2
    My apoligies if this is stupid but I’m real NOOOOb to this

    regards lindsay

    you can name the directory whatever you want..

    the important thing is to use a different prefix inside wp-config.php, as it indicates:

    $table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'

    If you were to look inside your mysql database you would see that all of the tables corresponding to your currently installed blog share the same “prefix”, ie,

    wp_categories
    wp_users
    wp_posts

    etc…

    Its that prefix that lets a particular install know where to look for stuff.

    When you assign another prefix inside your new wp-config.php

    you’ll end up with more tables that look like this

    wp1_categories
    wp1_users
    wp1_posts

    .. and so on.

    Assuming you use wp1_ as your prefix, of course.

    That will let your new blog know that its supposed to look only in those tables, not the other blogs tables.

    Does that help?

    PS: A second install is a cakewalk once youve done the first. As it says inside the docs, the ONLY change that needs to be made to your wp-config.php is the prefix since you know all the other settings are correct.

    Just copy over the other wp-config.php from your already installed log.. change the prefix and save it..and run the install.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple blogs on home usernet’ is closed to new replies.