WordPress.org

Ready to get started?Download WordPress

Forums

Multiple blogs (2 posts)

  1. quasimodem
    Member
    Posted 7 years ago #

    I have a WordPress blog at my domain, so it's installed at http://xyz.com/123. It's installed on the server in that subdirectory, but is assigned its own domain, 123.com. Works great, no problem.

    Now I want use WordPress for my main site, xyz.com. I understand to install the files into the root directory. My question is about the MySQL databases. Do I need to create another database? The readme file says:

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = 'wp_';

    I don't understand what this means. I think I'm talking about a multiple installation. Where does that prefix go?

    Any help is appreciated.

  2. jacobask
    Member
    Posted 6 years ago #

    You just need different values for $table_prefix, ei. using wp_ for one installation and wp2_ for the other would work fine.

    Jacob

Topic Closed

This topic has been closed to new replies.

About this Topic