The MU forums have moved to WordPress.org

Moving a wordpress blog into MU? (9 posts)

  1. majakat
    Member
    Posted 15 years ago #

    I have a blog that was setup before we installed mu - i would like it to be within the mu framework for the buddypress features, etc - is there a way to do that, move it from an independent install to one under the mu umbrella?

  2. tim.moore
    Member
    Posted 15 years ago #

    You've got two options:

    1. If you want to move everything (including settings under your Options page, plugin settings, etc), you'll need to be comfortable with MySQL tools like PHPMyAdmin. You'll do a database backup of your single user WordPress install, then restore that backup to the WordPress MU database.

    2. If you only want you pages/posts/comments to move, then you can go to the Tools menu in your WordPress install, choose Export and download the file. Then in WordPress MU, log in to the blog you want to put your stuff in, go to Tools -> Import and select the file you downloaded.

    <Tim>

  3. andrea_r
    Moderator
    Posted 15 years ago #

    And if you want it all on the same domain name, you'll be removing your WP install and installing MU. Just to clarify that bit. :)

    But get your backups of the single WP first, so you can restore that if need be.

  4. ebiladdress
    Member
    Posted 15 years ago #

    When I did it, I cheated a little :)

    I pulled down the posts and pages from one database, added the _# (wherein # represents the mysql number of the targeted blog) reference in their names with a macro then applied them.

    Doing that I had the posts moved in no time, the other sites content which I copied out manually is still being added months later due to the drudgery that is its process. I wish I'd copied those from the database back in the day haha

    Note that I only wanted to move the content, I was doing everything else new on the MU site.

  5. andrea_r
    Moderator
    Posted 15 years ago #

    "You'll do a database backup of your single user WordPress install, then restore that backup to the WordPress MU database."

    Just noting that there's a few more steps in there.

    http://bavatuesdays.com/importing-a-single-wp-blog-to-a-wpmu-installation/

  6. ADHONYSDANIEL
    Member
    Posted 14 years ago #

    What should i do if i want to rstore a database more than 2 mega?

  7. andrea_r
    Moderator
    Posted 14 years ago #

    Do it via ssh.

  8. gazouteast
    Member
    Posted 14 years ago #

    What about if I want to split the original blog's top level post categories, so that they each have their own MU child blog? Bava's post is great for putting everything into a single MU child blog, but not for splitting it out to several.

    Been really stuck (and lumbered) with this for about six months now.

  9. andrea_r
    Moderator
    Posted 14 years ago #

    Then, if each category has a manageable number of posts, just use the internal Export/import function and this plugin:

    http://wordpress.org/extend/plugins/advanced-export-for-wp-wpmu/

    Put the plugin on the original blog you want to move in MU. Export ut each category, it shoudl bring the child cats with it.

    Set up new blogs in MU.

    Visit the backend of each blog and Import each category file we exported above.

About this Topic

  • Started 15 years ago by majakat
  • Latest reply from andrea_r