Site SEO AI Auditby Internet Solutions

Open Graph Tags: How to Control Link Previews Everywhere

22 tháng 9, 20268 phút đọcSEO kỹ thuật
Open Graph Tags: How to Control Link Previews Everywhere

Short answer: Open Graph tags are meta tags in a page’s head that tell social networks, messengers and many other apps what title, description and image to show when someone shares the link. Every page should have og:title, og:description, og:image and og:url, with a share image of about 1200 × 630 pixels referenced by an absolute HTTPS URL. They do not affect Google rankings directly, but they strongly influence clicks from shared links.

What Open Graph is

The Open Graph protocol was introduced by Facebook and is now read by most platforms that show link previews: social networks, business chat tools, messaging apps and many content aggregators. When a link is pasted, the platform fetches the page, reads the Open Graph tags and builds a preview card. The specification is published at ogp.me.

Without Open Graph tags, platforms guess. They may use the HTML title, the first paragraph and a random image from the page, often the logo, an icon or a tracking pixel. The result is a poor preview that fewer people click.

Links travel far beyond social networks. They are pasted into team chats, e-mails, community forums, customer support replies and messaging apps, and almost all of these show a preview. For a small business, a well-formed preview on a link a customer forwards to a colleague can matter as much as a social post. That makes Open Graph one of the most widely used pieces of page metadata, even though it rarely gets as much attention as titles and descriptions for search. Setting it up correctly once, in the templates, means every new page gets a good preview automatically.

The tags every page needs

<meta property="og:title" content="How to Fix a Slow LCP">
<meta property="og:description" content="Find the LCP element, split the time and fix the slowest part.">
<meta property="og:image" content="https://www.example.com/images/lcp-guide-share.png">
<meta property="og:url" content="https://www.example.com/fix-lcp/">
<meta property="og:type" content="article">
<meta property="og:site_name" content="Example">
Tag Purpose Tips
og:title Headline of the preview Can differ from the SEO title; keep it short and clear
og:description Text under the headline One or two sentences; often the meta description
og:image Preview image Absolute HTTPS URL, about 1200 × 630 px
og:url Canonical address of the page Match the canonical URL
og:type Kind of content website for most pages, article for posts
og:site_name Brand name Same on every page

Some platforms also read their own tags, for example twitter:card with the value summary_large_image to request a large image card. When platform-specific tags are missing, most fall back to Open Graph.

Share images that work

The image does most of the work in a preview. Practical guidelines:

Optional tags og:image:width, og:image:height and og:image:alt help some platforms render the image immediately and describe it for accessibility.

Does Open Graph affect SEO?

Google does not use Open Graph tags as a ranking signal, and its search results use their own title and snippet logic. But Open Graph matters for search-related outcomes in indirect ways:

It is best treated as part of a page’s technical metadata, next to the title, meta description, canonical and structured data.

Setting it up on WordPress and other platforms

Why previews show the wrong content

Platforms cache previews, sometimes for a long time. After fixing tags, use the platform’s sharing debugger to refresh the cached version. Messaging apps may only update when the link is shared again later.

Writing preview text that gets clicked

The technical setup gets a preview to appear; the words decide whether anyone clicks it. A few habits help:

Open Graph for different page types

Different templates need slightly different treatment:

A sensible default image for pages without their own prevents the worst case, where platforms pick a random icon.

How to check Open Graph tags

  1. View the page source and search for og:. Confirm each tag appears once with the right values.
  2. Open the og:image URL directly in a private browser window to confirm it loads.
  3. Test the URL in the sharing or post inspector tools that major platforms provide.
  4. Check a few templates: home, article, product, category and contact pages.
  5. Crawl the site to find pages with missing, duplicated or broken Open Graph tags at scale.

How Site SEO AI Audit checks Open Graph

The structured data area of the audit checks Open Graph tags and share images on every page, next to Schema.org markup and invalid JSON-LD. Pages with missing tags or missing share images are listed and weighted by how many pages they affect, so a template that outputs no Open Graph data stands out immediately. WordPress sites get the steps to fix it in the SEO plugin. You can run a free audit.

Related reading

The bottom line

Open Graph tags decide what people see when your links are shared. Give every page a clear og:title, og:description, og:url and a page-specific share image of about 1200 × 630 pixels on an absolute HTTPS URL, output them from one source only, and refresh cached previews after changes.

FAQ

Are Open Graph tags a ranking factor?

No. Google does not use them to rank pages. They control how links look when shared on social networks and in messaging apps, which affects clicks from those places.

What size should an Open Graph image be?

About 1200 × 630 pixels, a 1.91:1 ratio, works well across major platforms. Keep important content away from the edges because some apps crop the image.

Why does my link preview show an old image?

Platforms cache previews. After updating the tags, use the platform’s sharing debugger or post inspector to fetch the page again and refresh the preview.

Do I need Twitter card tags as well?

Most platforms fall back to Open Graph, but adding twitter:card with summary_large_image ensures a large image card on X. Many SEO plugins output both automatically.

Can og:title differ from the page title?

Yes. The page title is written for search results, while og:title can be phrased for social sharing. Keep both accurate to the page content.

#Structured data#Technical SEO#WordPress SEO
Kiểm tra website của bạn — miễn phí.Mọi lỗi SEO trên website của bạn — và cách sửa chính xác.
Bắt đầu miễn phí
Internet Solutions

Sản phẩm khác từ đội ngũ chúng tôi

Do Internet Solutions phát triển. Hãy thử các sản phẩm khác của chúng tôi — mỗi sản phẩm giúp bạn tiết kiệm thời gian theo một cách riêng.

internet-solutions.net ↗
01Tự động đăng mạng xã hội
PostRSS

Bài mới từ nguồn cấp RSS của bạn được tự động đăng lên Facebook, X, LinkedIn, Telegram và hơn 60 mạng khác.

Gói miễn phí · từ 2014Truy cập →
02Chat trực tuyến AI cho website
Talkmio

Website của bạn trả lời khách truy cập 24/7 từ chính nội dung của bạn, bằng ngôn ngữ của họ.

Gói miễn phí · không cần thẻTruy cập →
03Trợ lý AI
Ask Mio

Trò chuyện, viết code, thiết kế, viết bài và nghiên cứu. Mio chọn mô hình tốt nhất cho từng việc.

Gói miễn phíTruy cập →
04Lái tự động AI cho blog và mạng xã hội
AI Blog Autopilot

AI viết bài SEO dài 2.000–3.000 từ và chia sẻ từng bài lên hơn 58 mạng xã hội.

3 bài đầu tiên miễn phíTruy cập →
05Kiểm tra sức khỏe website
Site AI Audit

SEO, tốc độ, SSL, bảo mật và cấu hình email trong một báo cáo, sắp xếp theo việc cần sửa trước.

Lần kiểm tra đầu tiên miễn phíTruy cập →
06Nguồn cấp RSS và sản phẩm
RSS Feed Creator

Tạo RSS từ bất kỳ trang web nào, cùng nguồn cấp sản phẩm cho Google và Meta tự động cập nhật.

Gói miễn phíTruy cập →
07Phát triển website và SEO
Internet Solutions

Website, cửa hàng trực tuyến và hệ thống theo yêu cầu, do đội ngũ của chúng tôi thiết kế, xây dựng và vận hành.

Từ 2011Truy cập →
Site SEO AI Audit
Tổng quan quyền riêng tư

Website này dùng cookie để mang lại trải nghiệm người dùng tốt nhất có thể. Thông tin cookie được lưu trong trình duyệt của bạn và thực hiện các chức năng như nhận ra bạn khi bạn quay lại, giúp đội ngũ chúng tôi hiểu phần nào của website bạn thấy thú vị và hữu ích nhất.