WordPress.org

Ready to get started?Download WordPress

Forums

Multiple blogs on home usernet (5 posts)

  1. LindsayP
    Member
    Posted 7 years ago #

    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

  2. whooami
    Member
    Posted 7 years ago #

  3. LindsayP
    Member
    Posted 7 years ago #

    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

  4. whooami
    Member
    Posted 7 years ago #

    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?

  5. whooami
    Member
    Posted 7 years ago #

    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.

    --

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.