Fixing social sharing images on Facebook and LinkedIn

Table of contents

When you share a page on Facebook or LinkedIn, the wrong image sometimes appears. Here’s why it happens and how to fix it.

Why the wrong image appears

The image that shows when you share a link comes from something called Open Graph data. These are hidden instructions in your page that tell Facebook, LinkedIn and other platforms what to show: the page title, a short description and an image.

The wrong image usually appears for one of two reasons:

  • The Open Graph image isn’t set (or is set to the wrong image), so the platform grabs whatever it finds, often a logo or banner.
  • The platform has saved an old version of your page. Facebook and LinkedIn keep a copy of each link the first time it’s shared. Even after you fix the image, they keep showing the old one until you ask them to look again.

How to fix it

Step 1: Set the right image in WordPress

If I built your website, you’ll find these settings in the Rank Math SEO plugin.

For one page or post:

  1. Edit the page or post and open the Rank Math panel.
  2. Go to the Social tab and add your image for Facebook (LinkedIn uses the same one).
  3. Save or update the page.

If you don’t set one here, Rank Math usually uses the page’s featured image.

For a default image across your whole site:

  1. Create an image at least 1,200 x 630 pixels and keep the file size small (under 8 MB at the very most). JPG or PNG is the safest choice.
  2. Go to your WordPress Dashboard > Rank Math SEO > Titles & Meta > Global Meta > OpenGraph Thumbnail.
  3. Click Add or Upload File, choose your image, then click Save Changes.

This default is used for any page that doesn’t have its own image set.

Step 2: Ask Facebook and LinkedIn to refresh

Changing the image may not be enough on its own, because of that saved copy. Use these free tools to make each platform fetch your page again:

  • Facebook Sharing Debugger: paste in your page address, click Debug, then Scrape Again. You may need to be logged in to Facebook.
  • LinkedIn Post Inspector: paste in your page address and click Inspect. This refreshes LinkedIn’s saved copy.

Both tools show you a preview of how your link will look when shared, so you can check it before you post. It’s worth doing this before you share any new page.

A good share image is worth the effort

A clear, relevant image makes your link stand out in a busy feed and tells people what to expect before they click. It’s a small detail, but it helps your website make a good first impression. If you share your pages on Facebook, my guide on why to put your website first and Facebook second explains how the two work best together.

Still stuck?

If the wrong image keeps appearing, or you’d rather not tackle the technical side, get in touch and I can check your Open Graph settings for you. If I host your website, my Website Care Plan can help keep things like this in good order.