# Import keeping old post ids in Discourse

**URL:** <https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852>\
**Category:** Migration\
**Tags:** kunena\
**Created:** [10월 18, 2018, 10:53오전 UTC](https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852 "2018-10-18T10:53:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pgr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pgr/32/156783_2.png) [@pgr](https://meta.discourse.org/u/pgr)\
**Post date:** [10월 18, 2018, 11:49오전 UTC](https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852/3 "2018-10-18T11:49:32Z")

</div>

Thanks Jay, I know that, and I use that to go from old ids to new ids.

But it would be more practical to simply use the same number and avoid that de-referencing. I am doing parts of my import with SQL and it complicates queries.

Also, the permalinks table can get quite huge. A regexp redirect is better, and easy if the id is constant.

---

_[View the full topic](https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852)._
