{"id":3209,"date":"2019-10-23T16:42:16","date_gmt":"2019-10-23T14:42:16","guid":{"rendered":"https:\/\/www.ewerkzeug.info\/?p=3209"},"modified":"2021-10-29T10:00:28","modified_gmt":"2021-10-29T08:00:28","slug":"migrate-wordpress-posts-with-post-image","status":"publish","type":"post","link":"https:\/\/www.ewerkzeug.info\/en\/wordpress-beitraege-mit-beitragsbild-migrieren\/","title":{"rendered":"Migrate WordPress posts with post image"},"content":{"rendered":"<p class=\"has-background has-large-font-size wp-block-paragraph\">Such articles are usually created for a reason. In our case, we had to migrate posts from a very large and complex blog, i.e. transfer them from one WordPress installation to another. During the final transfer of posts using the usual WordPress export\/import function, however, the post images suddenly no longer migrated.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\"> So we looked for ways to export the posts and import them into the new website in such a way that the post images would actually be migrated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We tried these two plugins, but they did not produce any results:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\"Export Featured Images (opens in new tab)\" href=\"https:\/\/wordpress.org\/plugins\/export-featured-images\/\" target=\"_blank\">Export Featured Images<\/a><\/li><li><a href=\"https:\/\/de.wordpress.org\/plugins\/auto-upload-images\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Auto Upload Images (opens in new tab)\">Auto Upload Images<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Both plugins were successfully used by other WordPress users, but not in our situation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, a successful migration of the posts including post images was possible with this plugin:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/export-media-with-selected-content\/\">Export media with selected content<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"so-funktioniert-es\">How it works<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Install and activate the plugin.<\/li><li>Select posts under \u201eTools\u201c \/ \u201eExport data\u201c and narrow down the selection if necessary. If there are many posts per month, then perhaps create export files for a period of one to three months. If the export file is about one MB in size, the import should work. You may need to experiment a little.<\/li><li>Place a checkmark next to \u201eExport Media with selected content\u201c<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"944\" height=\"664\" src=\"https:\/\/www.ewerkzeug.info\/wp-content\/uploads\/ExportMediaWithSelectedContent.png\" alt=\"Export Media With Selected Content\" class=\"wp-image-3218\" srcset=\"https:\/\/www.ewerkzeug.info\/wp-content\/uploads\/ExportMediaWithSelectedContent.png 944w, https:\/\/www.ewerkzeug.info\/wp-content\/uploads\/ExportMediaWithSelectedContent-300x211.png 300w, https:\/\/www.ewerkzeug.info\/wp-content\/uploads\/ExportMediaWithSelectedContent-768x540.png 768w\" sizes=\"auto, (max-width: 944px) 100vw, 944px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>In the new website under \u201eTools\u201c \/ \u201eImport data\u201c, activate \u201eWordPress import\u201c and then import one file after the other. This will take some time per file (between a few seconds and a few minutes). <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"410\" src=\"https:\/\/www.ewerkzeug.info\/wp-content\/uploads\/WordPressImportieren.png\" alt=\"Import WordPress\" class=\"wp-image-3223\" srcset=\"https:\/\/www.ewerkzeug.info\/wp-content\/uploads\/WordPressImportieren.png 611w, https:\/\/www.ewerkzeug.info\/wp-content\/uploads\/WordPressImportieren-300x201.png 300w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This should now also include the post images.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you still do not have all the images on the new server, you can copy the missing images using FTP (the wp-content\/uploads directory).<\/p>","protected":false},"excerpt":{"rendered":"<p>Such articles are usually created for a reason. In our case, we had to migrate posts from a very large and complex blog, i.e. transfer them from one WordPress installation to another. <\/p>","protected":false},"author":2,"featured_media":3342,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"Migration von Beitr\u00e4gen in WordPress mit ihren Beitragsbildern. Vorstellung eines Plugins, das f\u00fcr uns erfolgreich t\u00e4tig war.","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"none","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":301,"_seopress_analysis_target_kw":"Beitragsbilder","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[{"url":"","title":"","desc":"","thumbnail":"","duration":"","rating":"","view_count":"","tag":"","cat":""}],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"iawp_total_views":609,"footnotes":""},"categories":[48],"tags":[],"class_list":["post-3209","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/posts\/3209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/comments?post=3209"}],"version-history":[{"count":5,"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/posts\/3209\/revisions"}],"predecessor-version":[{"id":3652,"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/posts\/3209\/revisions\/3652"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/media\/3342"}],"wp:attachment":[{"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/media?parent=3209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/categories?post=3209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ewerkzeug.info\/en\/wp-json\/wp\/v2\/tags?post=3209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}