前言
最近google search console警告網頁出現了
排查前熱身
google 本身有提供兩個線上工具可以善用
複合式搜尋結果測試
- 將你想要測試的網址貼上, 並等待個幾分鐘的處理時間
- 接著你就會看到測試的結果, 然後你就可以根據網站給你的提示進行修正即可
結構定義標記驗證工具
- 將你想要測試的網址貼上, 並等待個幾分鐘的處理時間
- 一樣根據網站提供的資訊進行修正即可
排查過程
那在經過工具的測試後發現原因出在JSON-LD身上
<script type="application/ld+json">
{ /* your structured data */}
</script>