# 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. Oktober 2016 um 16:20 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:** 1

<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:** [27. Oktober 2016 um 16:20 UTC](https://meta.discourse.org/t/remapping-old-imported-forum-permalinks-to-posts-and-topics/52107/1 "2016-10-27T16:20:01Z")

</div>

Continuing the discussion from [Not able to create a permalink with forums/\* address](https://meta.discourse.org/t/not-able-to-create-a-permalink-with-forums-address/52100/5):

> [@Not able to create a permalink with forums/\* address](https://meta.discourse.org/t/not-able-to-create-a-permalink-with-forums-address/52100/5):
>
> Actually a permalink with a/b/c works, and one with c/xyz also works. Gotta do some digging on this later.

IPB has topic links like:

```
https://host/{slug}-{topic-id}t/

```

That’s done.

There are also post links like

```
 https://host/{slug}-{TOPIC-ID}t/?do=findComment&comment={post-id}

```

and

```
https://host/{slug}-{TOPIC-ID}t/#comment-{post-id}

```

Last I checked, it didn’t seem possible to make permalinks like the latter. I haven’t tried the former, but I’m thinking that won’t work either. My current solution is to use Nginx rewrite rules to just remove the comment stuff so that those links will just fall back to the topic (rather than the post).

Am I missing something?

---

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