我在amp页面添加了一个徽标,现在我得到了
“徽标字段的值是必需的”
谷歌结构化数据测试工具出现错误:https://search.google.com/structured-data/testing-tool#url=http:%2F%2Fwww.timesnews.co.uk%2F9516-lg-g-pad-iii-8-0-launched-us-korea-240%2Famp%2F
如何修复此错误和此页面下方显示的警告?
发布于 2016-06-06 16:09:21
出现此错误是因为json中的"publisher“字段没有"logo”属性:
您的JSON:
"publisher":{"@type":"Organization","name":"Times News UK, World, Gadgets, Mobiles News"},...
"publisher“json的正确格式:
"publisher":{"@type":"Organization","name":"Times News UK, World, Gadgets, Mobiles News", "logo":{"@type":"ImageObject","url":"http://...","width":"XXX","height":"YYY"}},...
徽标属性需要位于publisher对象中。
https://stackoverflow.com/questions/37597042
复制相似问题