Black Friday: 50% off the full report and report packs until Tuesday 1 December.

Start a free scan

Fix library

Set the picture and title shown when your pages are shared

Open Graph tags decide the title and picture apps show when someone shares your link. Without them each app guesses, often badly.

  • You, the site owner
  • about 20 min

The fix: Add og:title and og:image, plus og:description and og:url, to every page, usually by turning on your platform's or SEO plugin's social settings.

Step by step

  1. Check whether your platform or SEO plugin can output Open Graph tags; most can, and it is usually a setting.
  2. Set a default share image for the site, used when a page has no image of its own; 1200 × 630 pixels works well across apps.
  3. Give key pages, such as products, services and articles, their own share image and title.
  4. Test a page with a preview tool such as Facebook's Sharing Debugger or LinkedIn's Post Inspector, which also refreshes cached previews.

On your website builder

WordPress
  1. Yoast SEO and Rank Math output Open Graph tags; make sure the feature is on, set a default share image in the plugin's settings, and give each post a featured image.
Shopify
  1. Themes output Open Graph tags for you; set the fallback image in Online Store → Preferences (social sharing image) and give every product a featured image.
Wix
  1. Set the share title and image in each page's SEO settings, on the social share tab; Wix writes the tags.
Squarespace
  1. Add a social sharing image in each page's settings, and a default one for the site; Squarespace builds the tags from them.
Webflow
  1. Fill in the Open Graph settings (title, description and image) in each page's Page settings; on CMS templates, bind them to fields.

Why it matters

Open Graph tags, chiefly og:title and og:image, set the title and picture shown when someone shares your page on Facebook, LinkedIn, WhatsApp, iMessage, Slack and similar apps. Without them, each app guesses, often picking a logo, a random image or no picture at all, and a bare link tends to get fewer clicks than a rich preview. These tags don't affect search rankings; this is about how your links look when shared.

For your developer

A page is flagged when og:title or og:image is missing or empty. Use an absolute https URL for og:image (1200 × 630 px suits most apps), and add og:url, og:type and og:description; X falls back to Open Graph tags when twitter: tags are absent.

<meta property="og:title" content="Wedding cakes in Austin">
<meta property="og:description" content="Hand-made cakes, delivered across Austin.">
<meta property="og:image" content="https://www.example.com/images/share-wedding-cakes.jpg">
<meta property="og:url" content="https://www.example.com/wedding-cakes/">
<meta property="og:type" content="website">
In the <head> of each page

Sources