Turn multisite child blog into a standalone site (23 posts)

  1. MrPurple
    Posted 6 years ago #

    I know much of the discussion with the advent of WP3 Multisite is consolidating your individual blogs into one Multisite network. But what if you want to go the other way. For example, I want to sell off one of the domain-mapped child blogs in my Multisite install. Does anyone know how to export a child blog out of multi site and turn it into a stand alone wordpress site, keeping the content structure intact?

  2. Go to the tools menu and hit the Export button. That's how you get the content.

    this is exactly how people move off wordpress.com into their own wordpress.org stand-alone install.

  3. gimperdaniel
    Posted 6 years ago #

    Yes, but what about the settings? options? widgets? and everything else?

  4. dgilmour
    Posted 6 years ago #

    The Export is purely for exporting content; if you want everything else - such as additional tables created by plugins - you'll need a backup.

    <!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your blog. -->
    <!-- It contains information about your blog's posts, comments, and categories. -->
    <!-- You may use this file to transfer that content from one site to another. -->
    <!-- This file is not intended to serve as a complete backup of your blog. -->

  5. Person
    Posted 6 years ago #

    Use the internal Export function to backup posts, pages, categories, links, and regular settings. For themes, plugins, and uploaded content, you'll have to retrieve those via FTP (themes: /wp-content/themes/, plugins: /wp-content/plugins/) uploads: /wp-content/blogs.dir/ID/files/). For specific theme, widget and plugin settings, you'll have to access your mysql admin interface (phpMyAdmin) and export the respective tables there (mostly in wp_ID_options).

  6. titush
    Posted 5 years ago #

    Hm, I had a similar idea and the solution is not great obviously, as it's very manual and the risk of failure with complex plugin architectures is high...

    It's probably easier to start off with a standalone, duplicate it and then use the master to update stuff, then again copy over the duplicate, and so on...

    Not entirely satisfactory either.

    Ideal would be a plugin that:

    1. creates a standlone blog
    2. populates it with the content of the child blog in question
    3. copies all plugins and the respective SQL content as well.

    Did I forget anything? ;-)


  7. Milan *
    Posted 5 years ago #

    Just wanted to register my desire for functionality like this. I certainly understand the challenges and complexities of a proper export but still fail to understand why no plug-in or core features exists to do it. Nearly every web developer has a sandbox installation they eventually want to clone for production use.

  8. well, honestly? It's only been less than a year that "a lot" of developers have started using multisite locally to dev sites, and then export them to live single sites.

    Tho I'm pretty sure some people are starting to work on this.

    one of the immediate hurdles is that users are global.

  9. xfactor2010
    Posted 5 years ago #

    how do I go back to single site from network?

  10. xfactor2010
    Posted 5 years ago #

    or disable multi site function?

  11. littleantz
    Posted 5 years ago #

    I also want to move my child site to stand alone site but looking at the steps, I am not confident I can do it with confidence :(

  12. Go to the sub site, visit Tools -> Export.

    There's all your posts.

  13. littleantz
    Posted 5 years ago #

    unfortunately that is maybe 1% of my site ( in terms of file size).

    If I am correct that will not transfer my files?

    If I moved my files, then I am moving the whole site with network enabled.

    can you be more specific which to move and which not to.


  14. If I am correct that will not transfer my files?

    You mean the media? Images etc?

    You can import them to the new site, sure. There's an option to do that.

  15. littleantz
    Posted 5 years ago #

    Yes, that is what I was referring. Are you saying that Tools -> Export includes media and images to be exported?

    I think the last time I use that tool it only export my post, and comments. Images and media was left behind and I realize I need to FTP them.

    But in this case I don't know which files I need to FTP because I may be transferring the whole site and not just the child site.

    I am using 3.1.3 by the way.


  16. Are you saying that Tools -> Export includes media and images to be exported?

    Other way actually :) Tools -> IMPORT has an option for media and images to be IMPORTED. Provided the media/images are still fetchable. It should grab all the media associated to the posts.

    if you're moving the WHOLE network, that's different indeed.

  17. littleantz
    Posted 5 years ago #

    Do you think it will be fetchable?

    here are the setings.

    my main networked site is domain.com
    my child site that I want to move is child.domain.com

    I want to create a sub domain on my cpanel name child.domain.com
    install wp on sub domain child.domain.com
    import the exported data
    copy pluings folder that I am using in my child site and copy it in the new sub domain.

    is this the right process?


  18. littleantz
    Posted 5 years ago #

    Site obliterated....

    Even moving my files to the new site did not help because the network child site keeps wp-content/files/[number]/...

    The stand alone keep files in wp-content/uploads/...

    Even if I moved my files, the imported xml files is not pointing to the moved files.

    How can I transfer the files now?

  19. Do a search & replace on the image location.

  20. littleantz
    Posted 5 years ago #

    Thanks.. I manually upload again the images... it's not that much since it's a test site.

    Just want to see if there is an easier way to move a child site. It turns out it isn't


  21. titush
    Posted 5 years ago #

    So, coming back to the original question of turning a child blog into a standalone site: the answer is: NO ;-)

    Many workarounds and export import steps, but not "Tool" to do it automatically...

    What about XCLONER guys? Just came to my mind as I use it to replicate sites from staging to final servers...?

    I like it, quite simple and once you understand the logic, probably the smoothest opion... However, I haven't tried it on multisite with a child blog yet, just with standalone...


  22. never heard of it, and unless it;s been coded specifically to work with multisite, I would expect it to clone the whole db.

    And you're right - there is no one tool to export a "whole" child site. just different methods.

Topic Closed

This topic has been closed to new replies.

About this Topic