• I want to use 6 WordPress blogs, maybe more with the time in the same site with different paths, sub domains and root domains, but in fact i have only 2 mysql databases, so how i can install two or more WP on the same database?

Viewing 2 replies - 1 through 2 (of 2 total)
  • RossMitchell

    (@rossmitchell)

    The trick is to assign each distinct WordPress its own table prefix, this way the separate sites do not interact. Each site has its own “wp-config.php” file, set the line $table_prefix to something distinct to that website, like:

    $table_prefix  = 'wpSiteA_';

    This does somewhat complicate the management of your sites, for instance site backups and restores could interact.

    martcol

    (@hotmale)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How i can install 2 or more WordPress with 1 database?’ is closed to new replies.