Skip to content

Facebook shows the wrong preview when I share my website

Facebook saves a copy of your page’s preview the first time someone shares the link. If you’ve changed your page since then, or the page is missing preview tags, Facebook keeps showing the old or wrong details. You can fix this in three steps.

1. Make sure your page has Open Graph tags

Section titled “1. Make sure your page has Open Graph tags”

Facebook builds the preview from Open Graph (og:) tags in your page’s code. Without them, it guesses, and often picks the wrong image or text. A typical set looks like this:

<meta property="og:title" content="Your page title" />
<meta property="og:description" content="A short description of the page." />
<meta property="og:image" content="https://example.com/images/preview.jpg" />
<meta property="og:url" content="https://example.com/page/" />

On WordPress, an SEO plugin can add these for you. See Installing All in One SEO plugin in WordPress.

Use an image of at least 1200 × 630 pixels, and make sure it loads over https://.

If you use a caching plugin such as LiteSpeed Cache, purge the cache so Facebook sees the updated page. See Clearing the cache in WordPress.

  1. Go to the Facebook Sharing Debugger.
  2. Enter your page’s address and click Debug.
  3. Click Scrape Again. Check the preview and any warnings it shows.

New shares will now use the updated preview. Posts you shared before may still show the old one.

Was this page helpful?