Complete the Open Graph tags
Why it matters
Some Open Graph tags are present but others are missing, so link previews can show without an image or without a description. Adding the rest takes a few lines.
The fix
- Compare your tags with the snippet and add the missing ones. The image is the one that matters most for the look of a preview; use about 1200 by 630 pixels.
- Test the preview with the Facebook Sharing Debugger or LinkedIn Post Inspector.
html
<meta property="og:title" content="Handmade oak furniture | Example company"> <meta property="og:description" content="Handmade oak tables and chairs, built to order and delivered across Europe."> <meta property="og:type" content="website"> <meta property="og:url" content="https://example.com/"> <meta property="og:image" content="https://example.com/img/share-1200x630.jpg">
The examples use example.com. Replace it with your own domain.
Related
- Reported by the SEO basics check
- Add a title to the homepage
- Add a meta description to the homepage
- Add a canonical link to the homepage
- Fix the canonical link on the homepage
- Point the canonical link at your own domain
- Add Open Graph tags for link previews
- Add a viewport meta tag
- Make the viewport follow the device width
- Replace the default WordPress tagline in the title
- Fill in the empty part of the homepage title
- Change the canonical link to https
- Check that the canonical link names the right host
Scan your domain to see whether this applies to you.