# Remapping old imported forum permalinks to posts and topics?

**URL:** <https://meta.discourse.org/t/remapping-old-imported-forum-permalinks-to-posts-and-topics/52107>\
**Category:** Development\
**Created:** [27 Ottobre 2016, 4:20pm UTC](https://meta.discourse.org/t/remapping-old-imported-forum-permalinks-to-posts-and-topics/52107 "2016-10-27T16:20:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [27 Ottobre 2016, 11:30pm UTC](https://meta.discourse.org/t/remapping-old-imported-forum-permalinks-to-posts-and-topics/52107/2 "2016-10-27T23:30:40Z")

</div>

Remapping permalinks to anything other than the _topic_ will be quite difficult. I would not even attempt it.

Here’s the crux of it: “list of topic IDs” is usually a reasonably small list, but “list of post IDs” is _enormous_. You may have 10k topics but you’ll probably have 50k, 100k, even 500k posts.

Remember in discourse **Topic IDs are unique** , that is to say:

`http://discourse.example.com/t/topic-alpha/1234`

This is “topic 1234”

But **Post IDs in public URLs are not unique** , meaning:

`http://discourse.example.com/t/topic-alpha/1234/3`  
`http://discourse.example.com/t/topic-beta/4567/3`

These are both “post number 3” in each topic…

---

_[View the full topic](https://meta.discourse.org/t/remapping-old-imported-forum-permalinks-to-posts-and-topics/52107)._
