Skip to content

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

  1. Open the page or post in the editor.
  2. Find the Yoast SEO panel (below the content, or the Yoast icon in the top-right sidebar).
  3. Open the Social tab (called “Social appearance” in some versions).
  4. Upload your image under Social image, and optionally set a social title and description.
  5. Update the page.

To set a default image for pages without one, look in Yoast SEO → Settings for the site image.

With Rank Math

  1. Open the page or post.
  2. Open the Rank Math panel and go to the Social tab.
  3. Under Facebook, add your image, title and description. The Twitter tab can use the same data.
  4. 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. 1

    Publish

    Make sure the change is on your live site.

  2. 2

    Check the page

    Run it through How’s It Lookin? to confirm the new image, title and description are found.

  3. 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

Check it on each app

Related guides

Find out what’s wrong with your preview

Paste your link: we’ll show you every preview and how to fix it.