[SEO] 結構化資料

在網頁中加入結構化資料標記(採用JSON不用改到html code)

一、使用工具產出結構化資料標記,並將產出的內容放入html head裡
結構化資料標記協助工具
https://www.google.com/webmasters/markup-helper/u/0/

---------------------------------------------------------------------------------------------

測試結構化資料(裡面提供了2個測試網頁)
https://developers.google.com/search/docs/appearance/structured-data?hl=zh-tw

1.複合式搜尋結果測試
https://search.google.com/test/rich-results?hl=zh-tw







上圖是由google結構化資料標記協助工具產圖的,其中name這個標籤,在實測時發現有加或沒有並不會測試出問題,但測試網頁會提醒缺少headline。



上圖使用了headline標籤,但沒使用name標籤,測試結果並無提醒錯誤

2.結構定義標記驗證工具

https://validator.schema.org/

===== 參考資料 =====
https://www.minwt.com/website/wordpress/18850.html   (這篇文章有很詳細圖文)
https://www.seo-panda.tw/structured-data-202112/  (這篇文章有很詳細圖文)
https://developers.google.com/search/docs/appearance/structured-data/article?hl=zh-tw  (google文件)

這個網誌中的熱門文章

[linux] 指令(含mysql備份還原)、git指令、sourcetree驗證

mysql 主鍵使用UUID, bigint, int?