# Self Link previews not working for private site

**URL:** https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309
**Category:** Bug
**Created:** [March 16, 2017, 9:29pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309 "2017-03-16T21:29:07Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Shrike](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shrike/32/68103_2.png) [@Shrike](https://meta.discourse.org/u/Shrike)
#### Post date: [March 16, 2017, 9:29pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309/1 "2017-03-16T21:29:07Z")

</div>

Continuing the discussion from [Self Link previews not showing for private sites?](https://meta.discourse.org/t/self-link-previews-not-showing-for-private-sites/35591/15):

> [@Self Link previews not showing for private sites?](https://meta.discourse.org/t/self-link-previews-not-showing-for-private-sites/35591/):
>
> My link preview is just showing the URL and no link preview. Note: my website is a private instance. Any suggestions to get this working?

Hi.  
I’m on the latest 1.8beta7 private instance and topic preview still is not working.

---

<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: [March 16, 2017, 10:04pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309/2 "2017-03-16T22:04:54Z")

</div>

As I recall when @techapj looked at this, it had to do with a backslash at the end of the URL (or not), can you try that?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [March 16, 2017, 10:07pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309/4 "2017-03-16T22:07:51Z")

</div>

I actually already have that one on my ✏. I’ll have a look.

---

<div class="post-metadata">

### Author: ![Shrike](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shrike/32/68103_2.png) [@Shrike](https://meta.discourse.org/u/Shrike)
#### Post date: [March 16, 2017, 10:21pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309/5 "2017-03-16T22:21:35Z")

</div>

I tried all combinations:

/t/forum-vs-facebook/52  
/t/forum-vs-facebook/52/  
/t/forum-vs-facebook/52/1  
/t/forum-vs-facebook/52/1/

no preview for all of them.

---

<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: [March 16, 2017, 10:29pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309/6 "2017-03-16T22:29:32Z")

</div>

OK, then @zogstrip is on it, probably a regression, apologies.

---

<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: [May 18, 2017, 4:04pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309/7 "2017-05-18T16:04:27Z")

</div>

I just tested this locally and oneboxing a login required forum does work. One caveat though: you cannot onebox topics in categories that are not public, because you could expose information to people who can’t see that stuff.

---

<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: [May 18, 2017, 4:04pm UTC](https://meta.discourse.org/t/self-link-previews-not-working-for-private-site/59309/8 "2017-05-18T16:04:29Z")

</div>


