• Is it necessary to reinstall WP and all of its sub-directories and their contents to have a second blog in the original DB? I’m just thinking there ought to be an easier, less KB consuming, way. Is there someway to have the second blog use some of the original blog’s WP files? I hope, I hope. I did read the info on the above topic, (faq and codex multiple blogs) but it wasn’t quite clear enough on the matter.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Each instance of WordPress must be a separate install – all files. You can have as many blogs on one db as you want if you change the table prefix in each blog’s wp-config.php.

    chris1516

    (@chris1516)

    Hi,
    I am a novice (got one WP blog running fine, though).

    Is it indeed that easy as putting a number or letter in this line:
    $table_prefix = ‘wp_’; ,
    like
    $table_prefix = ‘wp_2’; ?

    No changes in phpMyAdmin etc. ?
    Do I have to change anything in the config of the blog already running ?

    Are there any disadvantages using one DB for more than one WP installation (like backup, moving one blog to another server at another time, etc.) ?

    Thanks a lot for any pointers,
    chris

    Chris_K

    (@handysolo)

    You can read more at Installing_Multiple_Blogs

    moshu

    (@moshu)

    Yeah, read the docs linked above…

    Just a detail: instead of wp_2' it would be more practical wp2_

    chris1516

    (@chris1516)

    Thanks a lot.
    The link is great (don’t know why I didn’t find it , I did use “Search” … )

    chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple Blogs with single db’ is closed to new replies.