WordPress.org

Ready to get started?Download WordPress

Forums

migrate from a normal wordpress to a childsite of a network (8 posts)

  1. 5ngua
    Member
    Posted 7 months ago #

    Hello there,
    I have a normal wordpress site at domain.com, now I want transfer it to become a child-site of a network. How can I do that?
    Thanks,

  2. Dave Navarro, Jr.
    Member
    Posted 7 months ago #

    I'd love to know this as well. I have looked at BackupBuddy and other plugins, but none of them seem to work in moving a single-install site into a multisite install.

    Although, the BackupBuddy support people said turning on experimental mode *might* work. Not enough of an endorsement to pay for it, though.

  3. Easiest way would be to make a new site on your network and import the content. Then map a domain.

  4. Dave Navarro, Jr.
    Member
    Posted 7 months ago #

    I tried that and the site I am importing from has over 6,000 posts. So it times out. I even set the PHP timeout to 5 minutes on my server.

  5. 5ngua
    Member
    Posted 7 months ago #

    @Ipstenu how about uploads files?

  6. 6000 posts shouldn't be that much of a problem, but it's probably the images. I would import and NOT pull in images. Then FTP them up to the new location and do a search/replace on the URLs to fix them in the DB

  7. Dave Navarro, Jr.
    Member
    Posted 7 months ago #

    @Mika,

    After spending a few hours on your web site yesterday, I found WP-CLI. I figured that a command line would probably not time out, so I got it installed on my old server (what a nightmare) and new server (so incredibly easy).

    I did an export from the old server using wp-cli and then used wp-cli to import the 17 files it generated. It actually worked fairly well, including importing the media library from the old site (well, most of it) using the --skip="image_resize" option. I just regenerated the thumbnails when the import was done.

    As far as the export/import process went, it was the smoothest I've tried after going through a half-dozen plugins that didn't work or made things worse.

  8. I'm in love with WP-CLI :)

Reply

You must log in to post.

About this Topic

Tags

No tags yet.