thoka
(Thomas Kalka)
February 5, 2025, 10:04pm
1
I would like to be able to link to single posts with a permanent route.
Currently, single posts are reachable via their position inside a thread. If a post is moved to another thread or the order of posts inside a thread is changed, the URL to this post should not change.
supermathie
(Michael Brown)
February 5, 2025, 11:08pm
2
You can do this by linking to the post ID: https://meta.discourse.org/p/POST_ID
The post ID is not directly exposed in the UI, but you can get it from the DOM:
The following link will always end up at your post above: https://meta.discourse.org/p/1703790
3 Likes
thoka
(Thomas Kalka)
July 24, 2025, 6:07am
3
I have to be more specific: I wish non breakable links to posts as default behaviour in discourse, idempotent to the current functionality.
(A) A link (copied from the URL bar in a browser) to a post should always link to the post, even if the post is moved.
(B) Oneboxing (inline and full) should work for these permanent links:
original link: Filtering topic lists in Discourse - #2
http://meta.discourse.org/t/filtering-topic-lists-in-discourse/375558/3
post: Build embedding / onebox support for topic filters - #2 by sam - Feature - Discourse Meta
https://meta.discourse.org/p/1820701
Suggestion
The only solution I see is to include the ID of the post in the URL: /t/{slug}/{topic-id}/position/{post-id}