# Title links only work if the slug is present

**URL:** https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165
**Category:** Feature
**Created:** [15 Agosto , 2015 23:55 UTC](https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165 "2015-08-15T23:55:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![johnmuhl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnmuhl/32/43413_2.png) [@johnmuhl](https://meta.discourse.org/u/johnmuhl)
#### Post date: [15 Agosto , 2015 23:55 UTC](https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165/1 "2015-08-15T23:55:00Z")

</div>

Links like this [https://meta.discourse.org/t/site-being-phished-on-third-party-domain/32112](https://meta.discourse.org/t/site-being-phished-on-third-party-domain/32112) work but when you only use the `/t/:id` part like this [https://meta.discourse.org/t/32112](https://meta.discourse.org/t/32112) you get an error instead.

 ![](https://global.discourse-cdn.com/meta/original/3X/4/e/4e2947a4d1614ca6c03690efd4b78db060994ac3.png)

Reloading the error page causes the correct page to load.

---

<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: [16 Agosto , 2015 00:01 UTC](https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165/2 "2015-08-16T00:01:53Z")

</div>

That is not intended to work. Why would anyone expect that to work?

Add a slug of 1 character if you want the “shortest” form.

---

<div class="post-metadata">

### Author: ![johnmuhl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnmuhl/32/43413_2.png) [@johnmuhl](https://meta.discourse.org/u/johnmuhl)
#### Post date: [16 Agosto , 2015 00:03 UTC](https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165/3 "2015-08-16T00:03:34Z")

</div>

I only expected it to work since pasting the short URL into the address bar and pressing enter works.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [16 Agosto , 2015 09:49 UTC](https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165/4 "2015-08-16T09:49:49Z")

</div>

This is actually the same issue as not being able to click this link:

[https://meta.discourse.org/raw/32165/1](https://meta.discourse.org/raw/32165/1)

The Ember router, if it can’t find a route, just gives up and shows the error page. (The error page for a network request, no less 😓) We need to tell it to make a HEAD request if the route isn’t found and do a non-pushState() navigation if the page exists.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [16 Agosto , 2015 09:59 UTC](https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165/5 "2015-08-16T09:59:47Z")

</div>

For this case the simpler fix is just adding a route 🙂

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [4 Dezembro , 2025 11:36 UTC](https://meta.discourse.org/t/title-links-only-work-if-the-slug-is-present/32165/6 "2025-12-04T11:36:55Z")

</div>


