中繼標籤與 Open Graph 檢查清單

當搜尋摘要或分享卡片顯示異常時,檢查 HTML 標籤、公開 URL、圖片位址和快取。

檢查準備發布的 HTML

將 head 貼上到中繼標籤預覽工具中,檢查 title、description、canonical 和 viewport。該工具讀取貼上的程式碼;如需取得已發布頁面,請使用 URL 檢查器。

<title>Image to PDF Converter | Example</title>
<meta name="description" content="Combine JPG and PNG images into a PDF.">
<link rel="canonical" href="https://example.com/image-to-pdf/">

檢查分享卡片標籤

Open Graph 將 og:title、og:type、og:image 和 og:url 定義為基本屬性。可新增 og:description 作為說明。請確認圖片網址可公開存取。HTML 預覽只會顯示遠端圖片 URL,不會實際載入圖片。

<meta property="og:title" content="Image to PDF Converter">
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com/image-to-pdf/">
<meta property="og:image" content="https://example.com/share.png">

解析相對位址並檢查已發布頁面

如果圖片使用 /share.png 之類的相對路徑,請輸入基礎 URL 以檢查解析結果。發布後,使用 URL 檢查器對照公開頁面的值。登入要求或抓取限制可能導致部分值不可用。

考慮卡片快取和摘要重寫

更新 HTML 後,分享服務可能仍保留舊卡片。請使用其官方分享偵錯工具要求重新抓取頁面。搜尋引擎也可能為不同查詢選擇其他說明,因此顯示的摘要可能與 description 標籤不同。

本指南使用的工具

參考資料

審核日期: