# Bug when visiting same thread url

**URL:** https://meta.discourse.org/t/bug-when-visiting-same-thread-url/209750
**Category:** Bug
**Created:** [November 21, 2021, 2:18am UTC](https://meta.discourse.org/t/bug-when-visiting-same-thread-url/209750 "2021-11-21T02:18:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Noone](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@Noone](https://meta.discourse.org/u/Noone)
#### Post date: [November 21, 2021, 2:18am UTC](https://meta.discourse.org/t/bug-when-visiting-same-thread-url/209750/1 "2021-11-21T02:18:50Z")

</div>

If we click the URL in the post [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/discourseconnect-official-single-sign-on-for-discourse-sso/13045) it goes to [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/13045) but its not rendered showing the error in console below

 ![Screenshot 2021-11-21 7.41.54 AM](https://global.discourse-cdn.com/meta/original/3X/0/8/0830e85a2f5acceee9d4d9c4c2e0e66160c28765.png)

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [November 21, 2021, 8:38am UTC](https://meta.discourse.org/t/bug-when-visiting-same-thread-url/209750/2 "2021-11-21T08:38:23Z")

</div>

As its a replace string, the [@team](https://meta.discourse.org/groups/team) would need to look at that.

an extra `topic` appears in the final link

it should be `https://meta.discourse.org/t/13045` but for some reason it changes to `https://meta.discourse.org/t/topic/13045`
