Back to GuidesRemediation Guide
How to Fix Missing Open Graph & Twitter Cards
Category: SEO & Social (Weight: 25 points) • Severity: Medium Warning
Why Social Cards Matter
When your client shares their website on WhatsApp, LinkedIn, Slack, or X (Twitter), social crawlers inspect og:image, og:title, og:description, and twitter:card. Missing tags result in a barren text URL or an ugly, stretched logo. High-quality 1200x630 pixel social cards dramatically boost engagement, click-through rates, and brand credibility.
Platform-Specific Solutions
WordPress Fix Steps (Yoast / Rank Math)
- In the WordPress editor, scroll down to your SEO plugin settings (Yoast or Rank Math).
- Click on the Social tab (Facebook / Twitter icon).
- Upload a 1200x630px JPG or PNG image to the Social Image selector.
- Customise the Social Title and Social Description if you want them to differ from standard Google search snippets.
- To set a fallback default image for the whole site: Go to Yoast > Settings > Site Representation or Rank Math > Titles & Meta > Global Meta > OpenGraph Thumbnail.
Webflow Fix Steps
- Open the Pages panel on the left.
- Click the Gear icon next to the page name.
- Scroll down to the Open Graph Settings section.
- Check “Same as SEO title/description” or provide custom copy.
- In the Open Graph Image URL field, paste an absolute HTTPS URL to an uploaded asset (upload via the Assets panel, click the gear icon on the image, and click the copy URL link).
- Publish the site to apply changes.
Shopify Fix Steps
- Go to Online Store > Preferences.
- Scroll to the Social sharing image preview section.
- Click Add image and upload a 1200x630px image that represents the store.
- For individual products and blogs, Shopify’s liquid template automatically pulls the featured product image as the
og:imagetag. Ensure all products have at least one featured photo. - Click Save.
Custom Code (Next.js App Router)
Add openGraph and twitter fields to your metadata in page.tsx or layout.tsx:
export const metadata = {
title: 'Client Project Title',
description: 'Detailed description of the client deliverable.',
openGraph: {
title: 'Client Project Title',
description: 'Detailed description of the client deliverable.',
url: 'https://example.com',
siteName: 'Example Agency',
images: [
{
url: 'https://example.com/og-preview.png',
width: 1200,
height: 630,
alt: 'Agency portfolio showcase',
},
],
locale: 'en_US',
type: 'website',
},
twitter: {
card: 'summary_large_image',
title: 'Client Project Title',
description: 'Detailed description of the client deliverable.',
images: ['https://example.com/og-preview.png'],
},
};