I am trying to migrate blog posts from WordPress to Craft CMS through the Feed Me plugin.

First, I export posts in .xml file from Wordpress. Then, I import in Craft CMS.

All things are good except the category and tags. It imports the category and tags from .xml file but it is not able to separate the category and tags.

Here the few code of category and tags means how it look in .xml

<category domain="post_tag" nicename="computer"><![CDATA[computer]]></category>
<category domain="post_tag" nicename="corporate"><![CDATA[corporate]]></category>
<category domain="post_tag" nicename="employee"><![CDATA[employee]]></category>
<category domain="post_tag" nicename="expert"><![CDATA[expert]]></category>
<category domain="post_tag" nicename="forensics"><![CDATA[Forensics]]></category>
category domain="category" nicename="forensics"><![CDATA[Forensics]]></category>
<category domain="category" nicename="infosec-training"><![CDATA[InfoSec Training]]></category>
<category domain="post_tag" nicename="warlock"><![CDATA[warlock]]></category>
<category domain="post_tag" nicename="witness"><![CDATA[witness]]></category>

And also the screen shot of mapping and and how it looks in section.

Mapping enter image description here

Section View enter image description here

How can I separate these?


Feed Me currently doesn't support this, as sometimes your data is contained in attributes, so it needs to be able to access that. Crucially, the tags are the same value, which is what trips things up.

Have you looked at the Wordpress to Craft guide? https://sgroup.com.au/plugins/feedme/guides/migrating-from-wordpress

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.