# Migrate a phpBB3 forum to Discourse

**URL:** https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810
**Category:** Migrating to Discourse
**Tags:** how-to
**Created:** [July 5, 2015, 10:02pm UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810 "2015-07-05T22:02:57Z")
**Posts on this page:** 1
**Showing post:** 377

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [June 20, 2018, 10:56pm UTC](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810/377 "2018-06-20T22:56:27Z")

</div>

Hi, I have another idea.

I guess that `import_id` is equal to the phpbb post id?  
Since I merged topics from category A and B in category C,

I could:

1. Store all the phpbb topics id from topics that belong to my categories A and B in a json file, then
2. Iterate the json, get the corresponding discourse topic on each iteration
3. Update the discourse topic by changing their category from C to A or B (maybe via /topics/bulk) in each iteration

Would that do the trick on the paper?

edit : I post here since my message mentions a custom\_field relative to the phpbb import, I hope I’m not too much off topic!

---

_[View the full topic](https://meta.discourse.org/t/migrate-a-phpbb3-forum-to-discourse/30810)._
