WordPress.org

Ready to get started?Download WordPress

Forums

Sorting out how to handle second blog/one db (5 posts)

  1. vkaryl
    Member
    Posted 8 years ago #

    Am I understanding the stuff I've searched for and read that in order to do more than one blog in the same database (with different table prefixes) you have to set them up at the same time? There's no going back to add in more at a later time if you have blogs already in working order?

    Or (as is usual, and more likely) am I confused?

  2. eveums
    Member
    Posted 8 years ago #

    I have set multiple blogs up at various times in the same database. What has worked for me is just changing the prefix in the wp-config file.

    Where it says: // Change the prefix if you want to have multiple blogs in a single database.<br />
    $table_prefix = 'wp_'; // example: 'wp_' or 'b2' or 'mylogin_'

    Just make sure the table prefixes are different. For example, wp1 for your firstblog, wp2 for your second, etc. I think I have 5! HTH!

  3. vkaryl
    Member
    Posted 8 years ago #

    Ah ha! See, I knew I must be missing something. Thank you very much eveums, that helps heaps!

  4. James
    Happiness Engineer
    Posted 8 years ago #

  5. vkaryl
    Member
    Posted 8 years ago #

    Thanks, macmanx - I read that too, but the way it's written made me believe that it was only able to be done with a new install....

Topic Closed

This topic has been closed to new replies.

About this Topic