WordPress.org

Ready to get started?Download WordPress

Forums

Multiple blogs from one mySQL database (3 posts)

  1. asoka1
    Member
    Posted 7 years ago #

    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.

    Asoka

  2. Cypher
    Member
    Posted 7 years ago #

    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.

    Regards

  3. asoka1
    Member
    Posted 7 years ago #

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

    Asoka

Topic Closed

This topic has been closed to new replies.

About this Topic