Add Open Graph tags for link previews on WordPress
Why it matters
Open Graph tags decide the title, text and image shown when someone shares your link on social networks and in chat apps. Without them each service guesses and the preview is often blank or ugly.
The fix
- Use an SEO plugin (such as Yoast SEO, Rank Math, All in One SEO or SEOPress), switch on its Open Graph or social option, and set the default sharing image and the homepage title and description.
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
- Complete the Open Graph tags
- 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.