# Onebox and shortened links

**URL:** https://meta.discourse.org/t/onebox-and-shortened-links/49541
**Category:** Feature
**Created:** [01.Сентябрь.2016 08:59:56 UTC](https://meta.discourse.org/t/onebox-and-shortened-links/49541 "2016-09-01T08:59:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)
#### Post date: [01.Сентябрь.2016 08:59:56 UTC](https://meta.discourse.org/t/onebox-and-shortened-links/49541/1 "2016-09-01T08:59:56Z")

</div>

I’m using custom shortened links with my site for two reasons; to easily track link clicks through the bit.ly dashboard and for branding purposes on social media.

For reference my site is EVOwners and my custom domain shortlink begins with **evown.rs**

I wanted to use this within my Discourse forum and added evown.rs to the Onebox settings. However I assume because this shortened link redirects to the real link, Onebox has trouble picking up any information from it.

Would it be possible for Onebox to be compatible with shortened links at any point in the future? I realise you guys are extremely busy and this wouldn’t be a priority, I just thought I’d suggest it as a potential Onebox enhancement for the future.

---

<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: [01.Сентябрь.2016 13:22:42 UTC](https://meta.discourse.org/t/onebox-and-shortened-links/49541/2 "2016-09-01T13:22:42Z")

</div>

you could do that with a plugin. It shouldn’t be that hard to have those links expanded before the one box code gets called.

---

<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: [01.Сентябрь.2016 15:23:23 UTC](https://meta.discourse.org/t/onebox-and-shortened-links/49541/3 "2016-09-01T15:23:23Z")

</div>

From the last time I’ve read onebox code it followed up to five redirects so it should work already. Do you have any working link so I can take a peek?
