# 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:** [October 18, 2018, 10:53am 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:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [October 18, 2018, 11:46am UTC](https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852/2 "2018-10-18T11:46:38Z")

</div>

The import script saves the import id in a post custom field. You can use it to create permalinks. Several importers do that. You can look at others for examples.

---

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