# How to debug WordPress site oneboxing?

**URL:** https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640
**Category:** Support
**Created:** [October 3, 2018, 2:39pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640 "2018-10-03T14:39:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dylanb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanb/32/139102_2.png) [@dylanb](https://meta.discourse.org/u/dylanb)
#### Post date: [October 3, 2018, 2:39pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640/1 "2018-10-03T14:39:23Z")

</div>

I have previously had no issues with onebox, but suddenly any links from my WordPress site aren’t oneboxing properly. They simply show the url (after the spinner tries to one box). Other WordPress links seem to work properly.

Is there a way to debug this process and see why the url isn’t embedding properly? I assume it is something with my WP site.

Doesn’t work…

> **[Big Ten Preview: Nebraska Cornhuskers | UM Hoops.com](https://www.umhoops.com/2018/10/03/big-ten-preview-nebraska-cornhuskers/)**
>
> Leading up to the start of the regular season, we’re going to preview every Big Ten team. We’ll take a deep dive into each program focusing on three reasons for optimism and three big questions before wrapping things up with best and worst  case...

Works…

> **[The Month in WordPress: August 2018 – WordPress News](https://wordpress.org/news/2018/09/the-month-in-wordpress-august-2018/)**

Everything seems to show up properly here: [Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed](http://iframely.com/debug?uri=https%3A%2F%2Fwww.umhoops.com%2F2018%2F10%2F03%2Fbig-ten-preview-nebraska-cornhuskers%2F)

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [October 3, 2018, 2:47pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640/2 "2018-10-03T14:47:45Z")

</div>

Edit: Just noticed you had checked the iframely already

---

<div class="post-metadata">

### Author: ![dylanb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanb/32/139102_2.png) [@dylanb](https://meta.discourse.org/u/dylanb)
#### Post date: [October 3, 2018, 2:48pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640/3 "2018-10-03T14:48:30Z")

</div>

Posted that link with the results above when I edited. [Here’s the report](http://iframely.com/debug?uri=https%3A%2F%2Fwww.umhoops.com%2F2018%2F10%2F03%2Fbig-ten-preview-nebraska-cornhuskers%2F) and everything looks good (images, descriptions, etc.) nothing about an error or anything.

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [October 3, 2018, 2:51pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640/4 "2018-10-03T14:51:13Z")

</div>

This might help you (see ref WPEngine)

> [@Why Do Some Blog Posts in Discourse Have A Preview?](https://meta.discourse.org/t/why-do-some-blog-posts-in-discourse-have-a-preview/96158/3):
>
> Discourse oneboxes do work with WordPress sites. If a link fails to onebox, it is likely because either the page it links to is missing the necessary Open Graph data, or because the request from Discourse is being blocked by the website’s server. You can check the Open Graph data for a URL here: [http://iframely.com/debug](http://iframely.com/debug). The website you are trying to link to is hosted by WPEngine. They are blocking requests from the Discourse Forum Onebox user agent. To allow sites hosted by WPEngine to cre…

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [October 3, 2018, 2:55pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640/5 "2018-10-03T14:55:51Z")

</div>

Is [umhoops.com](http://umhoops.com) using Cloudflare? I wouldn’t be surprised if some of Cloudflare’s features also blocked the Discourse user agent.

---

<div class="post-metadata">

### Author: ![dylanb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dylanb/32/139102_2.png) [@dylanb](https://meta.discourse.org/u/dylanb)
#### Post date: [October 3, 2018, 3:03pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640/6 "2018-10-03T15:03:07Z")

</div>

Thanks guys. You are correct that it was a security setting blocking the user agent. Thanks for quick responses!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 2, 2018, 3:07pm UTC](https://meta.discourse.org/t/how-to-debug-wordpress-site-oneboxing/98640/7 "2018-11-02T15:07:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
