Guest viewing is limited

Obama!

DbD

1, 2, BBQ
Broken or missing Reddit previews on a XenForo forum are usually caused by outdated default BB Code Media Site rules or Reddit blocking link unfurling from server IP addresses.
To restore Reddit embeds and link previews on your XenForo installation, address the issue from both the media embed side and the URL unfurl side.

1. Fix Embedded Reddit Posts (BB Code Media Sites)

Reddit frequently changes its embed scripts, URL structures (such as /s/ share links), and iframe permissions, which breaks XenForo's built-in Reddit media definition.
• Update the s9e Media Sites add-on. If you use the popular s9e Media Sites add-on, update it to the latest version in your Admin Control Panel (ACP) to pull in the newest Reddit iframe and /s/ share-link regex patterns.
• Check the default Reddit Media Site. If you do not use an add-on, go to ACP > Content > BB code media sites > Reddit. Ensure the Match URLs box includes https://reddit.com* as well as https://reddit.com*, and verify that the embed HTML points to https://reddit.com rather than older redditmedia.com domains.
• Fix blank space issues. If Reddit embeds render with a massive blank gap above or below the post, check your custom CSS or update your media site template, as older iframe resizer scripts often conflict with modern XenForo layouts. [1] (https://docs.xenforo.com/manual/content/embeds/bbcode-media-sites), [2] (https://xenforo.com/community/resources/s9e-media-sites.5973/reviews), [3] (https://xenforo.com/community/threads/unfurling-of-a-reddit-link-puts-a-massive-space.214847/)

2. Fix Standard Link Previews (URL Unfurling)

If pasting a plain Reddit link fails to generate a preview card (or displays a generic "Reddit - Dive into anything" box), Reddit's anti-bot protections are likely blocking your web host's IP address from scraping OpenGraph metadata.
• Test URL unfurling in the ACP. Go to ACP > Tools > Test URL unfurling and paste a standard Reddit thread URL. If it returns an HTTP 403 Forbidden or 429 Too Many Requests error, Reddit is blocking your server's IP.
• Route unfurl requests through a proxy. Because Reddit aggressively blocks datacenter IPs (like AWS, DigitalOcean, and Linode), you may need to configure an outbound HTTP proxy in your src/config.php file so XenForo fetches link previews through a residential or unblocked IP.
• Disable unfurling for Reddit. If you cannot bypass the IP block, prevent ugly broken preview boxes by adding reddit.com to your disallowed unfurl domains, or rely strictly on the BB code media site auto-embed feature instead. [1] (https://docs.xenforo.com/manual/content/embeds/bbcode-media-sites)

3. Fix Previews of Your XenForo Links on Reddit

If you are trying to fix how links to your XenForo threads look when shared on Reddit:
• Check OpenGraph metadata. Ensure your og:image and og:title tags are publicly accessible to guests. If your forum requires login to view threads or attachments, Reddit's scraper will only see a login screen.
• Enable the XenForo Metadata Logo. Go to ACP > Appearance > Style properties > Basic options and upload a valid Metadata logo (at least 200x200 pixels) so Reddit has a fallback thumbnail when a thread lacks attached images.
 

LilBuddy67

Who me? I’m 6’10” pal!
2ffa374329484829fbaeaa3f11776021_w200.gif
 
Broken or missing Reddit previews on a XenForo forum are usually caused by outdated default BB Code Media Site rules or Reddit blocking link unfurling from server IP addresses.
To restore Reddit embeds and link previews on your XenForo installation, address the issue from both the media embed side and the URL unfurl side.

1. Fix Embedded Reddit Posts (BB Code Media Sites)

Reddit frequently changes its embed scripts, URL structures (such as /s/ share links), and iframe permissions, which breaks XenForo's built-in Reddit media definition.
• Update the s9e Media Sites add-on. If you use the popular s9e Media Sites add-on, update it to the latest version in your Admin Control Panel (ACP) to pull in the newest Reddit iframe and /s/ share-link regex patterns.
• Check the default Reddit Media Site. If you do not use an add-on, go to ACP > Content > BB code media sites > Reddit. Ensure the Match URLs box includes https://reddit.com* as well as https://reddit.com*, and verify that the embed HTML points to https://reddit.com rather than older redditmedia.com domains.
• Fix blank space issues. If Reddit embeds render with a massive blank gap above or below the post, check your custom CSS or update your media site template, as older iframe resizer scripts often conflict with modern XenForo layouts. [1] (https://docs.xenforo.com/manual/content/embeds/bbcode-media-sites), [2] (https://xenforo.com/community/resources/s9e-media-sites.5973/reviews), [3] (https://xenforo.com/community/threads/unfurling-of-a-reddit-link-puts-a-massive-space.214847/)

2. Fix Standard Link Previews (URL Unfurling)

If pasting a plain Reddit link fails to generate a preview card (or displays a generic "Reddit - Dive into anything" box), Reddit's anti-bot protections are likely blocking your web host's IP address from scraping OpenGraph metadata.
• Test URL unfurling in the ACP. Go to ACP > Tools > Test URL unfurling and paste a standard Reddit thread URL. If it returns an HTTP 403 Forbidden or 429 Too Many Requests error, Reddit is blocking your server's IP.
• Route unfurl requests through a proxy. Because Reddit aggressively blocks datacenter IPs (like AWS, DigitalOcean, and Linode), you may need to configure an outbound HTTP proxy in your src/config.php file so XenForo fetches link previews through a residential or unblocked IP.
• Disable unfurling for Reddit. If you cannot bypass the IP block, prevent ugly broken preview boxes by adding reddit.com to your disallowed unfurl domains, or rely strictly on the BB code media site auto-embed feature instead. [1] (https://docs.xenforo.com/manual/content/embeds/bbcode-media-sites)

3. Fix Previews of Your XenForo Links on Reddit

If you are trying to fix how links to your XenForo threads look when shared on Reddit:
• Check OpenGraph metadata. Ensure your og:image and og:title tags are publicly accessible to guests. If your forum requires login to view threads or attachments, Reddit's scraper will only see a login screen.
• Enable the XenForo Metadata Logo. Go to ACP > Appearance > Style properties > Basic options and upload a valid Metadata logo (at least 200x200 pixels) so Reddit has a fallback thumbnail when a thread lacks attached images.
IMG_3371.gif
 
Back
Top