Hướng dẫn về Schema Markup

Schema markup là code dùng đó schema.org vocabulary đó labels điều gì nội dung của bạn có nghĩa là so các công cụ tìm kiếm có thể understand điều này và cho thấy rich kết quả.

Xuất bản lần đầu: 26 thg 6, 2026 · Cập nhật lần cuối: 8 thg 8, 2026 · Advanced
Ngôn ngữ

Schema markup là code đó dùng đó schema.org vocabulary để label điều gì nội dung của bạn có nghĩa là, so các công cụ tìm kiếm có thể understand điều này và làm của bạn các trang eligible cho rich kết quả (review stars, sản phẩm prices, breadcrumbs). đây là không một trực tiếp xếp hạng factor — Google có đã nói này repeatedly — và 'schema markup' (đó vocabulary) không nên là conflated với 'JSON-LD' (đó format bạn ghi điều này trong). All three formats hoạt động; JSON-LD là đó được khuyến nghị lựa chọn. Đó big trap là wasting dev time on deprecated types: HowTo rich kết quả went away trong 2023, seven feature types đã là retired trong June 2025, và FAQ rich kết quả đã là deprecated trong 2026. My rule, borrowed từ năm of đang làm này tại quy mô: implement schema khi điều này nhận bạn một tìm kiếm feature, hoặc khi điều này genuinely helps an engine identify của bạn entity (Organization/Person với sameAs) — không vì hơn markup là tự động tốt hơn.

Tóm tắt — Schema markup áp dụng schema.org vocabulary ( Google / Microsoft / Yahoo / Yandex collaboration) để label trang meaning. nó làm hai distinct jobs: rich-kết quả eligibility (visible SERP enhancements, requires cụ thể types + all bắt buộc properties) và entity understanding (helps engines và Knowledge Graph identify ai/Điều gì bạn là — Organization / Person + sameAs — với không visible tín hiệu). nó không trực tiếp xếp hạng factor. không conflate vocabulary (schema markup) với format (JSON-LD — được khuyến nghị, nhưng Microdata và RDFa cũng hoạt động). và watch deprecation cycle: HowTo rich kết quả went trong 2023, seven feature types là retired June 2025, và FAQ rich kết quả là deprecated trong 2026. My rule: implement schema Khi nó earns tìm kiếm feature hoặc genuinely helps entity understanding — không vì nhiều hơn markup là tự động tốt hơn.

Schema markup so với. dữ liệu có cấu trúc so với. JSON-LD

Three terms nhận muddled constantly, so let me tách biệt them cleanly:

  • Dữ liệu có cấu trúc là chung concept: bất kỳ standardized way của annotating nội dung so machines understand nó.
  • Schema markup là dữ liệu có cấu trúc đó dùng schema.org vocabulary cụ thể. trên thực tế những điều này hai là được sử dụng interchangeably.
  • JSON-LDformat — một của three ways để ghi markup. nó là không synonym cho schema markup. Bạn có thể express giống nhau schema.org types trong JSON-LD, Microdata, hoặc RDFa.

Giữ vocabulary (schema.org) tách biệt từ format (JSON-LD) là đầu tiên điều đó trips mọi người lên. vocabulary là Điều gì bạn chẳng hạn; format là Cách bạn ghi nó.

Điều gì schema.org thực ra là

schema.org là shared vocabulary launched trong 2011 và maintained collaboratively by Google, Microsoft (Bing), Yahoo, và Yandex. nó defines hierarchy của types (e.g., ThingCreativeWorkArticleNewsArticle) và properties mỗi loại có thể carry. các công cụ tìm kiếm agree on vocabulary, sau đó mỗi decides independently mà types nó consumes và mà nó turns vào rich kết quả. đó cuối cùng point matters: schema.org lists far nhiều hơn types hơn bất kỳ single engine surfaces. Evidence for this claim A property can be valid in Schema.org without being required, recommended, or consumed for a specific Google rich result. Scope: Schema.org vocabulary compared with Google Search feature requirements. Confidence: high · Verified: Google: Structured data feature guide

hai jobs schema làm (và Vì sao mọi người chỉ think về một)

phần lớn các hướng dẫn treat schema as rich-kết quả lever và dừng ở đó. nó thực ra làm hai tách biệt điều:

  1. Rich-kết quả eligibility. Mark lên nội dung với supported loại và all của nó bắt buộc properties, và của bạn listing becomes eligible cho visible SERP enhancement (stars, price, breadcrumbs, recipe card). Đây là part mọi người chases.

  2. Nội dung và entity understanding. Google trạng thái điều này dùng dữ liệu có cấu trúc “to understand the content of the page, as well as to gather information about the web and the world in general.” (bản dịch) «để understand đó nội dung of đó trang, cũng như để gather information về đó web và đó world nhìn chung.» Organization, Person, và similar types — especially với sameAs pointing tại có thẩm quyền profiles — help engines confidently identify entity một trang là về và feed đó Knowledge Graph. có không visible badge cho này; đó benefit là comprehension.

practical consequence: loại đó produces không rich kết quả có thể vẫn là worth marking lên nếu nó sharpens entity understanding. Organization là kinh điển ví dụ.

formats: JSON-LD, Microdata, RDFa

All three là supported by Google. JSON-LD là được khuyến nghị lựa chọn, và reasons là concrete:

  • nó lives trong <script type="application/ld+json"> block, không interleaved với của bạn HTML, mà làm nested dữ liệu far easier để express và để maintain as templates thay đổi.
  • Google có thể đọc JSON-LD ngay cả Khi nó dynamically injected by JavaScript hoặc CMS widget — đó Google own được ghi lại behavior, không universal kết xuất bảo đảm. khác các công cụ tìm kiếm và AI các crawler có thể render (hoặc fail để render) injected JSON-LD differently, so kiểm thử mỗi consumer bạn thực ra care về thay vì assuming parity.

Microdata và RDFa là inline các thuộc tính woven vào của bạn HTML markup. họ là không penalized hoặc parsed tệ hơn — đó myth. họ’re chỉ harder để maintain. sử dụng them chỉ Khi legacy CMS hoặc cụ thể nền tảng forces inline markup.

Schema không phải xếp hạng factor

Này là đó single hầu hết quan trọng correction trong đó topic. Google reps đã được unambiguous và consistent cho năm — see đó Quotes lens cho đó chính xác statements. Danny Sullivan có called dữ liệu có cấu trúc “tùy chọn” với “no impact on ranking in web search.” (bản dịch) «không impact on xếp hạng trong web tìm kiếm.» Đó benefit là gián tiếp: rich kết quả có thể lift nhấp-qua rate, và tốt hơn entity understanding có thể làm relevance matching easier. Neither là một xếp hạng boost từ đó markup itself.

Này là chính xác vì sao my own cách diễn đạt có luôn đã thực dụng. Trong my Ahrefs enterprise SEO hướng dẫn I put điều này way: “I’m a fan of schema markup as long as it gets you a search feature.” (bản dịch) «I’m một fan of schema markup miễn là điều này nhận bạn một tìm kiếm feature.» Translation: prioritize types với confirmed rich-kết quả eligibility (hoặc clear entity giá trị), và không spray markup trên mỗi trang hoping điều này làm điều gì đó.

phần lớn hữu ích schema types trong 2026

Google tìm kiếm gallery là nguồn của truth cho Điều gì hiện tại produces rich kết quả. types worth của bạn time, khoảng trong order của Cách commonly họ pay off:

  • Sản phẩm — price, availability, và review ratings; highest-giá trị loại cho ecommerce.
  • Review snippet / AggregateRating — star ratings on eligible nội dung.
  • BreadcrumbList — breadcrumb trail trong place của thô URL.
  • Bài viết (news/blog/sports) — eligible cho bài viết-enhanced display. Top Stories là tách biệt, nhiều hơn restrictive surface với của nó own publisher và nội dung-policy requirements; Bài viết markup là necessary nhưng không by itself put trang ở đó.
  • Organization — entity establishment. nó có thể feed logo/details Google hiển thị trong panels, nhưng hợp lệ markup không bảo đảm Knowledge Panel xuất hiện — entity understanding là reliable part, ngay cả nơi không panel hoặc rich kết quả hiển thị.
  • LocalBusiness — local panel details, hours, và contact info.
  • Event, Recipe, Job posting, Video (VideoObject), Q&, Software app, Dataset, Discussion forum, Course list — mỗi maps để cụ thể gallery feature.

nếu bạn implement không có gì khác, Organization, BreadcrumbList, và (cho relevant business) Product hoặc LocalBusiness cover highest-leverage cases.

deprecation wave — dừng implementing dead types

supported đặt genuinely thay đổi, và chasing retired features là phần lớn phổ biến way để waste dev time. gần đây history:

  • 2023 — HowTo rich kết quả đã xóa từ desktop và mobile. vẫn được khuyến nghị trong countless outdated các hướng dẫn; nó earns không có gì hiện tại.
  • June 2025 — seven feature types retired: Book Actions, Course Info (old format, replaced by Course list), Claim Review, Estimated Salary, Learning Video, Special Announcement, và Vehicle Listing.
  • 2026 — FAQ rich kết quả deprecated. expandable Q& dưới listings đã dừng appearing cho phần lớn các trang. FAQPage schema là vẫn hợp lệ và Google vẫn parses nó cho understanding — nhưng visual enhancement đó đã làm mọi người implement nó là đã biến mất.

John Mueller cách diễn đạt on đó 2026 round là đó right một: “Google is not killing schema… markup types come and go, but a precious few you should hold on to.” (bản dịch) «Google không phải killing schema… markup types come và go, nhưng một precious một vài bạn nên hold on để.» Đó takeaway không “schema is dying” (bản dịch) «schema là dying» — đây là “implement against the current gallery, not a 2021 tutorial.” (bản dịch) «implement so với đó hiện tại gallery, không một 2021 tutorial.»

Entity markup và Knowledge Graph

Beyond rich kết quả, schema là Cách bạn help engine disambiguate của bạn entity — để là sure của bạn “Apple” là company, không fruit, và đó của bạn tác giả là cụ thể thực person. mechanism là sameAs thuộc tính: bạn point của bạn Organization hoặc Person markup tại có thẩm quyền identifiers — Wikipedia, Wikidata, LinkedIn, Crunchbase, chính thức social profiles.

Đã xong right, điều này feeds Knowledge Graph và strengthens Cách confidently tìm kiếm engines (và, downstream, AI các hệ thống) recognize bạn. Đã xong carelessly, nó backfires: sameAs pointing tại sai Wikipedia trang hoặc khác company profile có thể nguyên nhân engine để conflate unrelated entities. Kiểm thử của bạn sameAs các giá trị as cẩn thận as bạn’d kiểm thử canonical.

Declare each entity once, then connect the graph with stable `@id` references instead of repeating partial versions of the same entity.

Organization connects to WebSite and WebPage. WebSite and WebPage connect to Article. The diagram emphasizes that the Organization, WebSite, WebPage, and Article each have one stable at-id that other entities reference.

Schema và AI tìm kiếm — right expectation

Schema là thường sold as AI-citation lever. nó không phải, trực tiếp. LLMs không reliably parse của bạn JSON-LD và reward bạn với citations — lớn nghiên cứu tìm thấy không significant lift trong AI citations từ schema coverage. Điều gì schema làm là giống nhau entity-understanding job described trên, và ngay cả đó xuất hiện với caveat: Google documents đó Organization/Person + sameAs feed của nó own Knowledge Graph và tìm kiếm understanding. Liệu — và Cách nhiều — khác AI providers lean on đó giống nhau entity tín hiệu là provider-cụ thể câu hỏi, không điều gì đó bất kỳ vendor có được ghi lại as guaranteed; treat cross-provider AI-citation benefit as unverified hypothesis, không implementation benefit schema delivers on của nó own. Think của nó as entity infrastructure cho Google own các hệ thống, không universal citation chuyển. I cover đó angle trong depth trong Schema Markup cho AI — nó khác câu hỏi (citation lift) từ điều này bài viết ( vocabulary, types, và implementation).

Implementation priorities

nếu bạn’re starting từ scratch, làm nó trong điều này order:

  1. Organization (sitewide) với chính xác name, logo, url, và verified sameAs — entity foundation.
  2. BreadcrumbList on templated các trang — cheap, broadly eligible, improves listing.
  3. Product (ecommerce) hoặc LocalBusiness (local) — highest-giá trị business-cụ thể loại.
  4. Article on editorial nội dung.
  5. chỉ sau đó, niche types đó map để confirmed hiện tại gallery feature.

Hai non-negotiables từ Google guidelines: chỉ mark lên nội dung đó là visible on đó trang, và favor “fewer but complete and accurate” (bản dịch) «ít hơn nhưng hoàn tất và chính xác» bắt buộc properties over mỗi có thể thuộc tính filled trong badly.

Validate trước khi bạn ship

Evidence for this claim Google recommends validating feature eligibility with the Rich Results Test and broader schema syntax with Schema.org tooling. Scope: Google Search deployment workflow; passing a validator does not guarantee display. Confidence: high · Verified: Google: Structured data introduction
  • Google Search Console rich-kết quả các báo cáo — monitor eligibility và các lỗi tại quy mô post-deploy.
  • Ahrefs trang web Audit — flags structured-dữ liệu các vấn đề trên toàn bộ trang web.

bắt buộc-thuộc tính lỗi làm đó trang ineligible cho corresponding rich kết quả; được khuyến nghị-thuộc tính gaps là thường tolerated. Validate, sau đó deploy — không reverse.

giữ layers straight, vì passing một không imply passing tiếp theo: hợp lệ markup ( validator parses nó không có các lỗi) → supported vocabulary (schema.org recognizes loại) → feature hỗ trợ (Google gallery documents matching rich kết quả hiện tại) → eligibility (mỗi bắt buộc thuộc tính present, policy followed) → lập chỉ mục ( trang là được lập chỉ mục tại all) → display (Google chọn để hiển thị enhancement) → xếp hạng (unaffected by bất kỳ của trên). green validator chỉ proves đầu tiên step.

cho nơi điều này sits trong bigger picture, see rộng hơn dữ liệu có cấu trúc hub điều này bài viết lives dưới.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.