Dynamic Open Graph (OG) settings in Webflow can break when fields aren't set correctly or aren’t published in the site metadata. This causes platforms like Facebook to show the wrong image and Twitter to ignore OG tags altogether.
1. Check Open Graph Settings in Webflow
- Go to the Page Settings for your dynamic (CMS) template page (e.g., Blog Post Template).
- Scroll to the Open Graph Settings section.
- Make sure you have properly connected dynamic fields to:
- OG Title (e.g., link to the CMS “Name” or “Title” field)
- OG Description (e.g., link to a “Summary” or “Excerpt” field)
- OG Image URL (use a CMS-linked image like “Main Image”)
- Ensure these fields are not left blank or defaulting to shared/static content.
2. Confirm That CMS Fields Are Always Populated
- Check inside the CMS Collection to make sure each item has a valid image, title, and description.
- If any are missing, the related OG tags may break or fail to render on the published site.
3. Use Correct Image Format and Size
- Your Open Graph image should meet recommended platform sizes, ideally:
- Facebook: 1200 x 630 px
- Twitter: 1200 x 675 px (if using Twitter Summary with Large Image)
- Use JPG/PNG and avoid HEIC or unsupported formats.
4. Publish the Entire Website, Not Just the CMS
- After updating OG settings in the CMS template page, click “Publish” and select the entire website, not only individual CMS items.
- Open Graph metadata is part of the HTML
<head> and must be included in the static template, not just pulled dynamically.
5. Test with the Facebook Debugger and Twitter Card Validator
- Go to Facebook Sharing Debugger and enter your blog post URL. Click “Fetch new scrape information” to see what Facebook sees.
- Use Twitter Card Validator to check how your OG tags are interpreted.
- These tools can show if metadata is missing or incorrect.
6. Double-Check the Site’s Custom Code and Integrations
- If you added custom code in the Site Settings or Page Settings
<head>, make sure it doesn’t override or conflict with the auto-generated OG tags by Webflow. - Webflow generates OG tags automatically using what you configure in the Open Graph Settings UI. Avoid hardcoding OG tags unless you're managing them carefully.
7. Twitter-Specific: Add Twitter Card Metadata If Missing
- Twitter requires extra meta tags. Webflow generates them based on OG settings if configured properly.
- In the Page Settings, confirm the OG Image, Title, and Description exist—Twitter often uses those, but may not render anything if the image is missing or blocked.
- For Twitter Summary Cards, you can add a meta tag in the <head> custom code section like:
<meta name="twitter:card" content="summarylargeimage">- But Webflow often adds this automatically when OG settings are properly used.
Summary
To fix dynamic Open Graph issues in Webflow: make sure your CMS template has OG fields linked to real CMS content, the CMS items have full data, the site is fully published, and platform-specific requirements (especially image format and size) are met. Then validate using Facebook and Twitter debugging tools to confirm OG metadata is being read correctly.