# Onebox für dieselbe Seite funktioniert nicht

**URL:** https://meta.discourse.org/t/onebox-for-same-site-not-working/71321
**Category:** Support
**Created:** [3. Oktober 2017 um 13:42 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321 "2017-10-03T13:42:57Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![nicop91](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nicop91](https://meta.discourse.org/u/nicop91)
#### Post date: [3. Oktober 2017 um 13:42 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/1 "2017-10-03T13:42:57Z")

</div>

Hello !

I see that copy / pasting a link to the same discourse (to another topic) does not display onebox anymore… Just the link.  
Would you have an idea why / what I can do ? I don’t really know how to debug this…

Thank you

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [3. Oktober 2017 um 13:45 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/2 "2017-10-03T13:45:13Z")

</div>

It wasn’t decided that the title is better, like [Change the maximum attachment/upload size](https://meta.discourse.org/t/changing-max-attachment-size/26435/19) but if you paste on a line by itself you still get a onebox. Like

[https://meta.discourse.org/t/changing-max-attachment-size/26435/19](https://meta.discourse.org/t/changing-max-attachment-size/26435/19)

---

<div class="post-metadata">

### Author: ![nicop91](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nicop91](https://meta.discourse.org/u/nicop91)
#### Post date: [3. Oktober 2017 um 15:31 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/3 "2017-10-03T15:31:12Z")

</div>

On my discourse, the URL is not replaced (neither by title nor window)…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [3. Oktober 2017 um 15:32 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/4 "2017-10-03T15:32:28Z")

</div>

I think I might have seen that on a site I’ve worked with too. Can you share your URL? What version are you running?

---

<div class="post-metadata">

### Author: ![nicop91](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nicop91](https://meta.discourse.org/u/nicop91)
#### Post date: [3. Oktober 2017 um 15:35 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/5 "2017-10-03T15:35:47Z")

</div>

My bad ! I was pasting the URL of a topic removing the IDs at the end of the URL (I wanted to send to the topic itself, not to a specific message).  
With the full URL it works ^^

Thank you !

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [3. Oktober 2017 um 16:44 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/6 "2017-10-03T16:44:43Z")

</div>

[https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/4](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/4)

For reference, there are 2 IDs in most URLs. The first is the topic ID, the second is the post ID. It is safe to change/remove the post ID, it is _not safe_ to remove the topic ID.

---

<div class="post-metadata">

### Author: ![nicop91](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nicop91](https://meta.discourse.org/u/nicop91)
#### Post date: [3. Oktober 2017 um 17:17 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/7 "2017-10-03T17:17:20Z")

</div>

Well, the link still works without the topic ID (that’s what got me !) as it redirects you to the URL with this ID. But it does not work for onebox, which does not follow the redirection (which is normal ^^)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [8. Juni 2024 um 12:44 UTC](https://meta.discourse.org/t/onebox-for-same-site-not-working/71321/8 "2024-06-08T12:44:07Z")

</div>

Dieses Thema wurde nach 2439 Tagen automatisch geschlossen. Neue Antworten sind nicht mehr möglich.
