# Anchors Not Working Across Posts Within Topic

**URL:** <https://meta.discourse.org/t/anchors-not-working-across-posts-within-topic/240512>\
**Category:** Bug\
**Created:** [September 30, 2022, 7:48pm UTC](https://meta.discourse.org/t/anchors-not-working-across-posts-within-topic/240512 "2022-09-30T19:48:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![orangeandblack5](https://avatars.discourse-cdn.com/v4/letter/o/edb3f5/32.png) [@orangeandblack5](https://meta.discourse.org/u/orangeandblack5)\
**Post date:** [October 1, 2022, 5:25pm UTC](https://meta.discourse.org/t/anchors-not-working-across-posts-within-topic/240512/3 "2022-10-01T17:25:47Z")

</div>

That is what we were already doing, unfortunately

Our links in the ToC were of this format:

`https://www.site.com/t/topic-name/ABCD/E#header--header-name`

and our actual links in the posts were of this format

`<a name="header--header-name"></a>`

Worked for the first few posts, broke around post 8 or 9.

---

_[View the full topic](https://meta.discourse.org/t/anchors-not-working-across-posts-within-topic/240512)._
