Skip to content

fix: use absolute URLs for OG/Twitter image meta on /cat page#105

Merged
thewilloftheshadow merged 1 commit intomainfrom
fix/cat-og-image-urls
Mar 12, 2026
Merged

fix: use absolute URLs for OG/Twitter image meta on /cat page#105
thewilloftheshadow merged 1 commit intomainfrom
fix/cat-og-image-urls

Conversation

@BunsDev
Copy link
Member

@BunsDev BunsDev commented Mar 12, 2026

Problem

The /cat page uses relative paths (/og-image.png) for og:image and twitter:image meta tags. Social media crawlers (Twitter, Discord, Telegram, Slack, etc.) require fully qualified URLs to fetch preview images, so the OG image never renders in link previews.

The main layout (Layout.astro) already uses absolute URLs correctly — this was just missed on the standalone /cat page.

Changes

  • og:image and twitter:image: /og-image.pnghttps://openclaw.ai/og-image.png
  • Added og:image:width and og:image:height (1200×630) for proper preview sizing
  • Added og:url (https://openclaw.ai/cat) for canonical URL resolution

Verification

All other pages use Layout.astro which already has absolute OG URLs — /cat was the only page affected.

--
image

openclaw.ai

image

openclaw.ai/cat

Social media crawlers (Twitter, Discord, Telegram, etc.) require
fully qualified URLs to fetch preview images. The /cat page was
using relative paths (/og-image.png) which crawlers cannot resolve.

Changes:
- Use absolute https://openclaw.ai/og-image.png for og:image and twitter:image
- Add og:image:width and og:image:height for proper preview sizing
- Add og:url for canonical URL resolution
@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clawd-bot Ready Ready Preview, Comment Mar 12, 2026 8:11pm
openclaw.ai Ready Ready Preview, Comment Mar 12, 2026 8:11pm

Request Review

@thewilloftheshadow thewilloftheshadow merged commit 8bb25dd into main Mar 12, 2026
16 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants