Cod*_*ang 3 google-search schema.org json-ld google-rich-snippets
我想在Google搜索中添加公司联系人.我在Google的结构化数据测试工具中测试了以下代码,但它抛出了这个错误:
https://coda-resume.herokuapp.com/(提供的所有值http://www.example.com/必须具有相同的域.)
这是JSON-LD:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Organization",
"url": "https://coda-resume.herokuapp.com/",
"logo": "http://www.example.com/logo.png",
"contactPoint": [{
"@type": "ContactPoint",
"telephone": "+1-401-555-1212",
"contactType": "customer service"
}]
}
</script>
Run Code Online (Sandbox Code Playgroud)
(我把它放在head元素中.)
| 归档时间: |
|
| 查看次数: |
5782 次 |
| 最近记录: |