# 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:** 6

<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:** [October 18, 2018, 12:16pm UTC](https://meta.discourse.org/t/import-keeping-old-post-ids-in-discourse/99852/6 "2018-10-18T12:16:21Z")

</div>

> [@pfaffman](#):
>
> You know about permalink normalizations?

I had heard about these regexp operations but I was thinking they _required_ post ids to match so a simple find-and-replace could take me from the old post id to the new one.

Or is the mechanism more intelligent and it does a lookup on the post custom field to translate ids?

---

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