Support » Installing WordPress » Need more than one installation on a server

  • Hi. I’m going to be running multiple blogs (on domain names), but on the same machine. Got the first one up and running great, but when I try to make a second installation, it tells me that WordPress is already installed and I need to clear out the database tables before installing another.

    Is there a way around this? I’m using WP2.

Viewing 1 replies (of 1 total)
  • Each blog will need to either point to it’s own database, or at least to have unique table prefixes. If you’ve already got one database up and running successfully, perhaps the easiest thing to do is to simply change the table prefix.

    In the wp-config.php file, look for this section:

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘CHANGEME_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’

    Your’s won’t say CHANGEME of course, but all you need to do is to change the prefix to something that is meaningful to you as the prefix to the new table names for each additional blog you install.

Viewing 1 replies (of 1 total)
  • The topic ‘Need more than one installation on a server’ is closed to new replies.