You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WordPress新手求助:修改社交分享图片后Facebook未生效怎么办?

Fixing Facebook Share Image Not Updating After Yoast SEO Changes

Hey there! I totally get how frustrating it is when you’ve spent time updating your social share images in Yoast SEO, only to see the old thumbnail pop up on Facebook hours later. Let’s walk through the most common fixes for this issue—most of the time it’s just a caching problem, not a mistake in your setup.

1. Force Facebook to Refresh Its Cache

Facebook aggressively caches page metadata (like your share image) to speed up loads, so it won’t automatically pick up your changes right away. The fastest way to fix this is to use Facebook’s built-in debugging tool:

  • Search for "Facebook Sharing Debugger" in Facebook’s developer tools
  • Paste your article’s URL into the input field and click "Debug"
  • Once the tool loads, look for the "Scrape Again" or "Refresh Sharing Information" button and click it. This tells Facebook to re-crawl your page and pull the new image from Yoast’s settings.

2. Double-Check Yoast SEO Settings

Before blaming caching, make sure your setup is actually correct:

  • Open the post editor, scroll down to the Yoast SEO panel
  • Click the "Social" tab, then select "Facebook"
  • Confirm that the "Facebook Image" field is set to your new image (not the old one)
  • Don’t forget to click "Update" on your post after making changes—this saves the Yoast settings to your database.

3. Clear All Layers of Cache

Caching can happen in multiple places, so you need to clear them all:

  • Website cache: If you’re using a caching plugin (like WP Rocket, W3 Total Cache), go to its settings and clear the entire cache.
  • Browser cache: Clear your browser’s cache and cookies, or try sharing the post in an incognito/private window—this ensures you’re not seeing an old cached version of the page.
  • CDN cache: If you use a CDN (like Cloudflare), log into your CDN dashboard and clear its cache for your article URL.

4. Verify Image Specifications

Facebook has strict requirements for share images—if your new image doesn’t meet them, it might fall back to the old one or a default:

  • Minimum size: 1200x630 pixels (the recommended 1.91:1 ratio)
  • File format: JPG or PNG (avoid animated GIFs for share images)
  • File size: Keep it under 8MB—larger files might not be crawled properly.

5. Check the Page Source to Confirm Yoast’s Output

To make sure Yoast is actually serving the new image in your page’s metadata:

  • Open your article in a browser, right-click anywhere on the page, and select "View Page Source"
  • Use the find function (Ctrl+F or Cmd+F) to search for <meta property="og:image"
  • Check that the URL in this tag matches the new image you set in Yoast. If it does, the issue is definitely with Facebook’s cache, not your WordPress setup.

内容的提问来源于stack exchange,提问作者Kateryna Hurenko

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 04:27:24