How can I troubleshoot LinkedIn scraping the wrong or missing og image on certain pages of my Webflow website, despite setting specific og images for each page and trying the suggested custom code for the header?

TL;DR
  • Ensure Open Graph tags are correctly set up in Webflow's Page Settings.
  • Use LinkedIn Post Inspector to review and clear cached Open Graph data.
  • Confirm image URL is publicly accessible, recheck custom code, and allow time for CDN propagation.

LinkedIn scraping the wrong or missing og:image can be a common issue due to improper setup or caching. Here’s how to troubleshoot and fix it:

1. Check Meta Tag Implementation

  • Go to your Webflow project and navigate to the page where the og:image is incorrect.
  • Ensure that the Open Graph tags are correctly implemented in the Page Settings. The image URL, type, and title tags should be correct.

2. Use LinkedIn Post Inspector

  • Visit the LinkedIn Post Inspector page.
  • Enter the URL of the problematic page and click on Inspect.
  • Review the output to see the Open Graph data that LinkedIn sees. If it's incorrect, there might be a cache issue or a problem with the tags setup.

3. Clear LinkedIn Cache

  • LinkedIn, much like Facebook, caches content. Using the Post Inspector forces a scrape and cache clear.
  • Re-inspect the URL after making changes on Webflow to clear the cache.

4. Verify Image URL Accessibility

  • Check if the image URL is publicly accessible without any requirement for authentication.
  • Directly visit the image URL in a browser. If you can view it, LinkedIn should be able to access it too.

5. Recheck Custom Code

  • Review any custom code you've added in the header to ensure there are no syntax errors.
  • Remove or comment out custom code temporarily to see if it resolves the issue.

6. Ensure CDN Propagation

  • If you recently updated the images or content, allow some time for Webflow’s CDN to propagate these changes across the web.

Summary

Ensure your Open Graph tags are correctly set up in Webflow, use LinkedIn Post Inspector to clear cache and assess metadata, and confirm image accessibility. If issues persist, check custom code and allow time for CDN propagation.

Rate this answer

Other Webflow Questions