# Link to /last post in topic no longer works after recent updates

**URL:** <https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415>\
**Category:** Bug\
**Created:** [2015年八月22日 20:13 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415 "2015-08-22T20:13:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)\
**Post date:** [2015年八月22日 20:13 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/1 "2015-08-22T20:13:18Z")

</div>

Posting a link to the last post within that topic by using `/t/topic-slug/123/last` used to work great, but it seems to be broken after a recent update.

Entering the url in the address bar still works and will take you to the last post, but clicking on the link will just redirect you to the first post.

example on try.discourse:  
[http://try.discourse.org/t/internal-link-test/332/](http://try.discourse.org/t/internal-link-test/332/)

go to the last post on this topic:  
[https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/last](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/last)

---

<div class="post-metadata">

**Author:** ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)\
**Post date:** [2015年八月22日 22:24 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/2 "2015-08-22T22:24:54Z")

</div>

It’s working fine with the last Chrome version:  
[http://try.discourse.org/t/internal-link-test/332/last](http://try.discourse.org/t/internal-link-test/332/last)

---

<div class="post-metadata">

**Author:** ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)\
**Post date:** [2015年八月22日 22:51 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/3 "2015-08-22T22:51:03Z")

</div>

yeah, clicking on the link from here or adding the /last to the url manually works, but it doesn’t work if you go back to the first post and click from there (it used to work until some recent update).

---

<div class="post-metadata">

**Author:** ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)\
**Post date:** [2015年八月22日 22:52 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/4 "2015-08-22T22:52:59Z")

</div>

Added a link to go to the last post on this topic and it doesn’t seem to work when clicked.

---

<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:** [2015年八月23日 00:09 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/5 "2015-08-23T00:09:58Z")

</div>

I don’t know that we use this anywhere in Discourse any more. What is your use case?

---

<div class="post-metadata">

**Author:** ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)\
**Post date:** [2015年八月23日 00:19 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/6 "2015-08-23T00:19:58Z")

</div>

Is it no longer officially supported?

It was a nice little feature on some of our longer topics.

---

<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:** [2015年八月23日 03:02 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/7 "2015-08-23T03:02:18Z")

</div>

I am leery of supporting secret hidden features not actively used in Discourse. They will break..

---

<div class="post-metadata">

**Author:** ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)\
**Post date:** [2015年八月26日 18:29 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/8 "2015-08-26T18:29:53Z")

</div>

Any chance this could be officially supported? I know we have the top and bottom buttons on the progress bar, but the ability to link directly to the last post without having to know the post number used to be a really convenient feature and actually worked really great for us!

Some of our topics have a wiki post at the top so we’ll often put a `/1` to let the user jump to the top to reference info in the wiki and also have another `/last` on that first post to let users quickly jump back down to the last post.

Another useful place where we used the `/last` was on our topic that we use as a chatroom, where users would sometimes just want to jump to the very bottom.

---

<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:** [2015年八月26日 22:27 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/9 "2015-08-26T22:27:32Z")

</div>

Up to you @eviltrout – is this easy to fix?

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [2015年八月27日 17:12 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/10 "2015-08-27T17:12:36Z")

</div>

It wasn’t an intentional regression, but we let this functionality slip at some point recently. Here’s a fix:

[https://github.com/discourse/discourse/commit/fc296d88dc7015c6624dd150a9426e91462fb2c9](https://github.com/discourse/discourse/commit/fc296d88dc7015c6624dd150a9426e91462fb2c9)

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2015年八月27日 17:15 UTC](https://meta.discourse.org/t/link-to-last-post-in-topic-no-longer-works-after-recent-updates/32415/11 "2015-08-27T17:15:51Z")

</div>


