How to migrate post media from stand-alone to multisite build

We have a stand-alone wordpress site we're migrating to a multisite build. The two builds are on two separate serve

We have a stand-alone wordpress site we're migrating to a multisite build. The two builds are on two separate servers, but are using the same domain. We're currently accessing the multisite build by just changing our host file to point to the server it's living.

We used the default export/wordpress importer to transfer posts, pages, etc. It works, but transfers little if any of the media assets associated with those posts.

We have a stand-alone wordpress site we're migrating to a multisite build. The two builds are on two separate servers, but are using the same domain. We're currently accessing the multisite build by just changing our host file to point to the server it's living.

We used the default export/wordpress importer to transfer posts, pages, etc. It works, but transfers little if any of the media assets associated with those posts.

Share Improve this question asked Dec 17, 2019 at 20:21 RyanRyan 2212 silver badges7 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Here's the process we used to migrate the media and keep it in sync with the posts.

  1. We used the Export media with selected content plugin to export our posts. Piecing off the export into smaller chunks. As suggested by Matt Whiteley.
  2. We manually moved (via ftp) the /wp-content/uploads/{year} directories to the 'same location' on the multisite build. This may present a problem if you already have a lot of media in the default site, as you'll have to mix content. Fortunately our default site is just a placeholder, so we didn't have much media/content overlap.
  3. We imported the exported xml using the default Wordpress Importer (still in chunks).
  4. The posts imported with all the media! Yay! There were probably a handful that didn't work, but overall it got most everything.
  5. We removed the migrated /wp-content/uploads/{year} directories, as the import process added the media to it's new, proper, home /wp-content/uploads/sites/{site-identifier}/{year}

Resources
Matt Whiteley's Move WordPress blog posts with featured images was crucial
Export media with selected content plugin was crucial
Wordpress Importer

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744894887a4599635.html

相关推荐

  • How to migrate post media from stand-alone to multisite build

    We have a stand-alone wordpress site we're migrating to a multisite build. The two builds are on two separate serve

    1天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信