How to Change Your Website Preview Image in WordPress
Updated
Short answer
WordPress doesn’t set sharing images on its own. An SEO plugin does. With Yoast SEO or Rank Math, open the page or post, find the plugin’s Social tab, and upload a 1200 × 630 image. If you don’t use an SEO plugin, install one first; otherwise many themes just use the featured image, or nothing at all.
Here’s how to set the image, title and description your WordPress pages show when shared.
First: do you have an SEO plugin?
WordPress itself doesn’t add sharing information to your pages. That’s done by a plugin: most commonly Yoast SEO, Rank Math or Jetpack. Go to Plugins in your WordPress dashboard to see what’s installed.
If you don’t have one, installing a free SEO plugin is the simplest way to control your previews.
With Yoast SEO
- Open the page or post in the editor.
- Find the Yoast SEO panel (below the content, or the Yoast icon in the top-right sidebar).
- Open the Social tab (called “Social appearance” in some versions).
- Upload your image under Social image, and optionally set a social title and description.
- Update the page.
To set a default image for pages without one, look in Yoast SEO → Settings for the site image.
With Rank Math
- Open the page or post.
- Open the Rank Math panel and go to the Social tab.
- Under Facebook, add your image, title and description. The Twitter tab can use the same data.
- Update the page.
Titles and descriptions
Both plugins also have a search appearance or snippet section where you can set the title and description shown in Google. If you don’t set a separate social title, apps use these.
After you’ve changed it
- 1
Publish
Make sure the change is on your live site.
- 2
Check the page
Run it through How’s It Lookin? to confirm the new image, title and description are found.
- 3
Refresh apps
Facebook Sharing Debugger, LinkedIn Post Inspector, or share with ?v=2 on the end.
Common mistakes to avoid
- !Running two SEO plugins at onceThey can both add sharing information and confuse apps. Use one.
- !Relying on the featured imageWithout an SEO plugin, many themes don’t tell apps about it at all.
Frequently asked questions
Usually because no sharing image is set, so apps pick one from the page, or two plugins are setting different images. Set one in your SEO plugin.
WordPress.com sites include Jetpack, which uses the featured image for sharing. Some plans also support SEO plugins.
Sources
- The Open Graph protocol: The standard most apps use to read sharing information.