我有一个网站,我正在将1个域名用于我的2个业务。现在,我的问题是我要为整个组织的网站进行AggregateRating,并且我希望同一域下的另一项业务使用不同的AggregateRating。虽然我需要几天的时间才能在实时Google搜索结果中看到它,但是请查看我的代码。
是否有排除页面的方法?对不起,我是新手。我目前正在使用wordpress并使用了diff插件,但是没有用。
<script type="application/ld+json">// <![CDATA[
{
"@context": "http://schema.org",
"@graph": [
{
"@type": "Hotel",
"name": "Hotel Sample",
"url":"https://www.hotelsample.com/",
"description": "",
"address":{
"@type":"PostalAddress",
"addressCountry" : "PH",
"addressLocality": "123 City",
"postalCode": "1600"
},
"telephone": "(+63 2) 00-1111 loc sample and sample ",
"image": "https://www.hotelsample.png.com",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue" :"4.2",
"reviewCount":"1468"
}
},
{
"name": "My Restaurant",
"priceRange" : "₱650 - ₱1200",
"@type": "Restaurant",
"url":"https://www.hotelsample.com/myrestaurant/",
"description": "sample",
"address":{
"@type":"PostalAddress",
"addressCountry" : "PH",
"addressLocality": "sample address",
"postalCode": "1600"
},
"telephone": "(02) 11 sample",
"image": "https://www.hotelsample.png.com",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue" :"4.6",
"reviewCount":"67"
},
"servesCuisine": [
"Japanese"
]
}
]
}
// ]]></script>