# Link to another topic with Anchor doesn't work

**URL:** https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363
**Category:** Bug
**Created:** [19.Сентябрь.2016 22:54:14 UTC](https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363 "2016-09-19T22:54:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [19.Сентябрь.2016 22:54:14 UTC](https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363/1 "2016-09-19T22:54:14Z")

</div>

Anchors are breaking topics links.

Normal [link](https://meta.discourse.org/t/deep-linking-to-headings-anchors/47552#before-image)

Relative [link](https://meta.discourse.org/t/deep-linking-to-headings-anchors/47552#before-image)

Onebox:

> [@Linking to a heading within a post or topic](https://meta.discourse.org/t/deep-linking-to-headings-anchors/47552#before-image):
>
> bookmark This guide explains how to link directly to a heading within a Discourse post or topic, enabling users to navigate long posts efficiently. person_raising_hand Required user level: All users Adding headings within long posts can make the content more readable and allow users to link directly to specific sections. This can be particularly useful for navigating extensive discussions and documentation. Summary This guide covers: Creating headings using Markdown Linking directly …

---

<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: [19.Сентябрь.2016 23:36:14 UTC](https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363/2 "2016-09-19T23:36:14Z")

</div>

Which one is broken? relative or non-relative?

edit: oh wow, both. That’s not good cc @eviltrout

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [19.Сентябрь.2016 23:59:58 UTC](https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363/3 "2016-09-19T23:59:58Z")

</div>

To me the 3 types are broken :sadpanda:

---

<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: [20.Сентябрь.2016 15:14:16 UTC](https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363/4 "2016-09-20T15:14:16Z")

</div>

Oops, fixed here:

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

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [20.Сентябрь.2016 15:23:52 UTC](https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363/5 "2016-09-20T15:23:52Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/1/6/16b5cb6c6e157ab55d8df6c611e405319786ea5d.jpg)

---

<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: [20.Сентябрь.2016 15:36:24 UTC](https://meta.discourse.org/t/link-to-another-topic-with-anchor-doesnt-work/50363/6 "2016-09-20T15:36:24Z")

</div>


