# Migrating or merging existing topics in categories?

**URL:** https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478
**Category:** Feature
**Created:** [7 במרץ,‏ 2014,‏ 4:12am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478 "2014-03-07T04:12:16Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![pakl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pakl/32/103617_2.png) [@pakl](https://meta.discourse.org/u/pakl)
#### Post date: [7 במרץ,‏ 2014,‏ 4:12am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/1 "2014-03-07T04:12:16Z")

</div>

Is there any support for merging/migrating categories?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [7 במרץ,‏ 2014,‏ 4:14am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/2 "2014-03-07T04:14:20Z")

</div>

![](https://global.discourse-cdn.com/meta/original/2X/4/4f3c32c49a8646b0924047f4866ee005ebc2033f.png) 

EDIT: Hang on, I’ll do some more details..

First, we know that you may not delete a category unless it is emtpy (nothing but the category definition).

You usually don’t want to delete all the topics, so move them to another existing category instead. In this case, move them to the category that’s the “target” of the merge.

The bulk actions is a good way to easily change the category of all of them.

Once you’ve moved them all out, you can delete the category. You’ll need everybody to refresh afterwards.

---

<div class="post-metadata">

### Author: ![pakl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pakl/32/103617_2.png) [@pakl](https://meta.discourse.org/u/pakl)
#### Post date: [7 במרץ,‏ 2014,‏ 4:30am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/3 "2014-03-07T04:30:12Z")

</div>

Thanks, very helpful. Is there a way to select all topics in a category? Not a big deal but would be convenient.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [7 במרץ,‏ 2014,‏ 4:49am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/4 "2014-03-07T04:49:22Z")

</div>

Nope, you have to go and click the box for each one ☹

---

<div class="post-metadata">

### Author: ![pakl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pakl/32/103617_2.png) [@pakl](https://meta.discourse.org/u/pakl)
#### Post date: [7 במרץ,‏ 2014,‏ 4:56am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/5 "2014-03-07T04:56:40Z")

</div>

What, how is such inefficiency without gamification even tolerated!?? jk - thanks.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [7 במרץ,‏ 2014,‏ 5:03am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/6 "2014-03-07T05:03:24Z")

</div>

Actually, you could probably use jQuery by looping over `$('.ember-checkbox')` and set `.checked = true` for each of them _(after loading all the topics)_.

Kinda like `$('.like').click()`

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [7 במרץ,‏ 2014,‏ 5:21pm UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/7 "2014-03-07T17:21:43Z")

</div>

Note that if you do this, you’ll only get the current topics in memory, not all topics.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [4 בדצמבר,‏ 2025,‏ 11:09am UTC](https://meta.discourse.org/t/migrating-or-merging-existing-topics-in-categories/13478/8 "2025-12-04T11:09:24Z")

</div>


