WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 2 Blogs one SQL (7 posts)

  1. chelle-mom
    Member
    Posted 8 years ago #

    I have been reading thro the codex and the forums and I understand that you modify the wp-config.php to create a separete "blog".

    However, I also read that this modification needs to be done BEFORE the initial installation of WP. Is that correct? If I have soodz.com/blog running happily, I could not add soodz.com/blog2 now using the same database?

    I am a new learner so I apprecaite the paitence if this has been answered. I tried to understand it but need further clarification. Thanks
    Chelle
    http://soodz.com/blog

  2. moshu
    Member
    Posted 8 years ago #

    For the second blog you need:
    - a separate installation of the WP files in their own directory, e.g. /blog2/
    - in the wp-config file change only the table prefix from wp_ to something else (e.g. second_ :)
    - then run the installation it as you did with the first one

  3. skippy
    Member
    Posted 8 years ago #

    You can have as many WordPress blogs installed in the same database as you like. The database is just a container for the tables. As long as each blog has a distinct $table_prefix defined in wp-config.php, then there should be no problems at all.

    And yes, the $table_prefix needs to be defined in wp-config.php before you install your blogs.

  4. chelle-mom
    Member
    Posted 8 years ago #

    Ok just so I understand (and once again thank u for ur paitence)

    1.I would leave the orignal blog files alone.
    2.Make new directory for New Blog /blog2
    3. Before installing I go into the wp-config file and change it to ex. wonka_
    4. Place the modified wp files into the new directory
    5. Do the famous 5 minute install

    Right?

    Thank You so much for sharing your knowledge!

    chelle

  5. moshu
    Member
    Posted 8 years ago #

    It seems to you got it right :)
    Good luck!

  6. chelle-mom
    Member
    Posted 8 years ago #

    Thanks so much!!!
    I will let you all know if it worked!
    You guys ROCK!
    chelle

  7. chelle-mom
    Member
    Posted 8 years ago #

    w00t w000t!!!
    It totally worked!
    THANK YOU GODS & GODDESSES OF WP!

    hehe!
    chelle

Topic Closed

This topic has been closed to new replies.

About this Topic