You spend six hours writing a deeply technical article, share the URL on LinkedIn, X (Twitter), Slack, or Discord—and the card renders as a bare text link with no thumbnail, a cropped square logo, or a stale homepage description. Bad link previews crush click-through rates before anyone even reaches your site, costing you both referral traffic and potential backlinks from readers discovering your post in feeds.
Clean Open Graph (og:), Twitter/X Card (twitter:), and favicon markup fixes that permanently across every social network, messaging app, and browser bookmark tab.
The Essential Open Graph and Twitter Card Tags
Every indexable webpage <head> should declare a concise, self-consistent social block. Generate clean markup quickly with Open Graph Generator and Twitter Card Generator:
<meta property="og:type" content="article">
<meta property="og:site_name" content="YourSiteName">
<meta property="og:title" content="Your Crisp Headline Under 65 Characters">
<meta property="og:description" content="A direct 120-155 character summary of what the page solves.">
<meta property="og:url" content="https://yourdomain.com/blog/your-article-slug">
<meta property="og:image" content="https://yourdomain.com/images/your-card-1200x630.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Descriptive summary of the share card graphic">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Your Crisp Headline Under 65 Characters">
<meta name="twitter:description" content="A direct 120-155 character summary of what the page solves.">
<meta name="twitter:image" content="https://yourdomain.com/images/your-card-1200x630.png">
Notice two subtle details:
og:type: Usearticleon blog posts (optionally paired witharticle:published_time,article:modified_time, andarticle:section) andwebsiteon your homepage and tool directories.- Keep
og:urlidentical to your<link rel="canonical">: Mismatches between canonical andog:urlsplit share counts and confuse scrapers. Check canonical alignment in our Technical SEO Audit Checklist.
Share Image Specs: Why 1200 x 630 Still Wins (and 5 Mistakes That Break Cards)
The universal safe aspect ratio across Facebook, LinkedIn, X (summary_large_image), Slack, Discord, and WhatsApp is 1.91:1, standardized at 1200 x 630 pixels.
5 Reasons Link Previews Fail Even When Tags Exist
- Using a Relative Path in
og:image: Writingcontent="/uploads/card.png"instead of the fullhttps://yourdomain.com/uploads/card.pngbreaks almost every social scraper. Always emit an absolutehttps://URL. - Serving SVG or AVIF as
og:image: Most social crawlers (LinkedIn, Facebook, WhatsApp, iMessage) do not render.svgor.aviffiles as social card thumbnails! Export your social share cards as PNG or JPEG (or broadly supported WebP fallback tested carefully, though PNG/JPEG remains the safest universal choice forog:image, while serving AVIF/WebP inline on your actual webpage via our Image Compression Guide). - Oversized Images Exceeding Crawler Caps: Some messaging apps (especially WhatsApp and Slack previews) fail silently or refuse thumbnails above 5 MB—or even 300 KB–1 MB on strict mobile relays. Compress your
1200 x 630PNG/JPEG card under 300 KB. - Advertising Wrong Dimensions: If your fallback
og:imagepoints to a512 x 512square logo while your template hardcodesog:image:width="1200"andog:image:height="630", validators flag dimension mismatches and platforms stretch or center-crop awkwardly. Dynamically matchwidth/heighttags to the actual local file dimensions! - Cloudflare Bot Protection or
robots.txtBlocking Scrapers: Over-aggressive WAF rules (Block unknown user agents) blockfacebookexternalhit,LinkedInBot,Twitterbot, andSlackbotfrom fetching your HTML or/uploads/images, resulting in blank link previews.
Test live previews across platforms before hitting publish using Open Graph Preview, Twitter Card Preview, Facebook Post Preview, and LinkedIn Post Preview.
Modern Favicon Setup: Clean Icons for Browsers, Google SERPs, and Mobile Home Screens
Google displays site favicons prominently right next to URLs on both mobile and desktop search results—making a crisp, recognizable icon a real SERP CTR lever rather than cosmetic polish.
In 2026, you do not need 25 redundant Apple/Microsoft tile PNGs cluttering <head>. Five clean files cover browsers, dark/light tabs, search crawlers, and iOS/Android home screens:
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon-48.png" sizes="48x48" type="image/png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
Key Google Search Favicon Requirements
- Multiples of 48 px (
48x48,96x96,144x144) or vector SVG: Google Search explicitly recommends a square icon that is a multiple of48px(or SVG) so search snippets never upscale a blurry16x16.ico. - Keep
/favicon.icoand/favicon-48.pngcrawlable: Never block your icon files inrobots.txt, and return200 OK(not a redirect to an error page). - Test dark-mode tab legibility: An all-black vector mark vanishes on dark-mode browser tabs! Either embed a subtle rounded background badge inside your icon or supply a
@media (prefers-color-scheme: dark)CSS fill inside/icon.svg.
Generate complete favicon sets or verify live sites with Favicon Generator and Favicon Checker, and inspect any competitor or staging page's live meta/OG block using Website Metadata Extractor.
Pre-Publish Social & CTR Checklist
- Keep
og:titleunder60–65characters with concrete value—no truncated"| BrandName"padding if it cuts off the main point on mobile cards. - Design
1200 x 630share thumbnails with key text/logos inside the center safe zone (~15%padding from edges) so square-cropped previews in chat apps never slice off words. - Verify
og:imagereturns HTTP200 OKwithimage/pngorimage/jpegand stays cleanly under500 KB. - Confirm your
48x48+ PNG or SVG favicon loads cleanly in both light and dark browser tabs.
Frequently Asked Questions
Why does LinkedIn or Facebook still show my old thumbnail after I updated og:image?
Social platforms aggressively cache Open Graph scrapes for days to save bandwidth. After updating tags or replacing an image at the same URL, either append a cache-busting filename/version (card-v2.png) or trigger a re-scrape in the platform's official Post Inspector / Sharing Debugger.
Should og:title match my <title> tag word-for-word?
It doesn't have to. Your HTML <title> targets search-query clarity and keyword placement within ~580 px (| BrandName), while og:title can drop the trailing brand suffix so social readers get a cleaner, punchier headline inside compact feed cards.
Can I inline a tiny favicon as a Base64 Data URI to save an HTTP request?
You can for lightweight internal dashboards (using Favicon Data URI Generator), though for public SEO websites Google Search expects a crawlable external /favicon-48.png, .ico, or .svg URL.
Preview and Generate Your Share Metadata Now
Audit existing pages or prepare clean metadata before publishing your next post:
- Build tags cleanly with Open Graph Generator and Twitter Card Generator.
- Inspect live card renders using Open Graph Preview, Twitter Card Preview, Facebook Post Preview, and LinkedIn Post Preview.
- Extract live page tags via Website Metadata Extractor.
- Build and test site icons using Favicon Generator and Favicon Checker.