<p>Craft 4.4 (which is due to release in Q1 2023) will include a native CLI command that will &quot;aid in migrating existing categories, tags, and global sets over to entries&quot;. Full details here: <a href="https://github.com/craftcms/cms/discussions/9781#discussioncomment-3964944" rel="nofollow noreferrer">https://github.com/craftcms/cms/discussions/9781#discussioncomment-3964944</a></p>

CC BY-SA 4.0
2023-06-20T17:10:03.490Z
Yep this will help in the future for sure.
Bill Columbia
CC BY-SA 4.0
2023-01-16T11:44:13.563Z
2023-01-16T11:44:13.563Z
Mats Mikkel Rummelhoff
<p>I used the Feed Me approach years ago. Changed from Categories to Structures too, and all new projects are always Structures instead of Categories.</p>

CC BY-SA 4.0
2022-08-18T19:49:05.280Z
Interesting, we might try that. What makes you default to structures these days?
Bill Columbia
CC BY-SA 4.0
2022-08-18T21:53:30.773Z
You are more flexible than with Categories. Also, for Craft 4, it was once thought that categories would be completely eliminated. But then the plans changed.

Read the whole story with pro/cons here: https://github.com/craftcms/cms/discussions/9781
Thomas Sausen
CC BY-SA 4.0
2022-08-23T13:01:05.923Z
Ah thanks for link!
Bill Columbia
CC BY-SA 4.0
2022-08-17T20:20:49.853Z
2022-08-17T20:20:49.853Z
Thomas Sausen
<p>We chose to create a set of content on our site as a category group. We're starting to port over content from our old site (Drupal) and have realized a few bummers — the main one being no revision support. We are debating the idea of migrating the category group into a structure instead. The content is stored in various fields including Neo blocks.</p>
<p>Is it possible to migrate this content in an automated way or would be need to move all content manually from the category to the structure?</p>
<p>I'm aware that you can change section type, but it seems less likely that you can change from category to a section type.</p>
<p>Some ideas we've had so far:</p>
<ul>
<li>Create the new structure (with the same fields as the category group)
<ul>
<li>Then use Feed Me to get content from category -&gt; section</li>
<li>or try to update the content in the DB to point to the structure instead of the category group?</li>
</ul>
</li>
</ul>

<categories><structure><conversion>
Convert Categories into Structure entries
# Convert Categories into Structure entries

(Asked by: username_0 on 2022-08-17)

We chose to create a set of content on our site as a category group. We're starting to port over content from our old site (Drupal) and have realized a few bummers — the main one being no revision support. We are debating the idea of migrating the category group into a structure instead. The content is stored in various fields including Neo blocks.

Is it possible to migrate this content in an automated way or would be need to move all content manually from the category to the structure?

I'm aware that you can change section type, but it seems less likely that you can change from category to a section type.

Some ideas we've had so far:

* Create the new structure (with the same fields as the category group)
  + Then use Feed Me to get content from category -> section
  + or try to update the content in the DB to point to the structure instead of the category group?

**Tags:** categories, structure, conversion


---

## 2 answers

### Answer by username_1 on 2023-01-16. Score: 3

Craft 4.4 (which is due to release in Q1 2023) will include a native CLI command that will "aid in migrating existing categories, tags, and global sets over to entries". Full details here: <https://github.com/craftcms/cms/discussions/9781#discussioncomment-3964944>

> **Comments:**
> **username_0**: Yep this will help in the future for sure.  

---

### Answer by username_2 on 2022-08-17. Score: 2

I used the Feed Me approach years ago. Changed from Categories to Structures too, and all new projects are always Structures instead of Categories.

> **Comments:**
> **username_0**: Interesting, we might try that. What makes you default to structures these days?  
> **username_2**: You are more flexible than with Categories. Also, for Craft 4, it was once thought that categories would be completely eliminated. But then the plans changed.  Read the whole story with pro/cons here: https://github.com/craftcms/cms/discussions/9781  
> **username_0**: Ah thanks for link!  

---

