Support » Fixing WordPress » Multiple blogs from one mySQL database

  • Hello,

    Can someone provide clear step-by step instructions as to how you actually run several WordPress blogs from ONE mySQL database? Also, please explain the string to insert if this database is hosted on a different URL to the blogs themselves.

    I only have so many databases with my hosting and hence, with several blogs already in existence and othres being planned, I don’t want to use them all up.

    Thank you.


Viewing 2 replies - 1 through 2 (of 2 total)
  • In your wp-config.php file set up the DB_HOST to point to your database URL. Next, set up the DB_NAME to the one database you have, and just modify the $table_prefix for each blog.

    So just use “wp1_”, “wp2_” and so on to differentiate the blogs.


    That’s really great. Thank you. And FAST too!


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple blogs from one mySQL database’ is closed to new replies.