google-rich-snippets

Site name in Google search results for multi-language websites

对着背影说爱祢 提交于 2019-12-12 22:13:17
问题 Using Schema.org, I can set the name for my website so it’s visible in Google Search: https://developers.google.com/structured-data/site-name Example: <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "WebSite", "name" : "Your WebSite Name", "alternateName" : "An alternative name for your WebSite", "url" : "http://www.your-site.com" } </script> What if I have multi-language website? 5 languages → 5 index pages, e.g.: http://www.example.com/en/ Is it right to

Error: Page contains property “query-input” which is not part of the schema

跟風遠走 提交于 2019-12-12 10:07:57
问题 I get this error from the Google RichSnippets testing tool: Error: Page contains property "query-input" which is not part of the schema. But where did I make a mistake? HTML : <div id="dkAjaxSearch"> <input id="ajaxSearch" type="text" value="" name="search_term" itemprop="query-input"> Press Enter to search </div> JSON-LD : <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://domain.com/", "potentialAction": { "@type": "SearchAction",

Error in Google SDTT: “All values provided for url must point to the same page.”

对着背影说爱祢 提交于 2019-12-12 08:32:17
问题 I am trying to create some JSON-LD structured data for a list of products on an ecom-site but I am getting an error when using Google's Structured Data Testing Tool. So far, I have this: { "@context": "http://schema.org", "@type": "OfferCatalog", "name": "Fresh Fruit", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@type": "Offer", "price": "1.20", "priceCurrency": "GBP", "availability": "http://schema.org/InStock", "url": "http://example.com/green-apples/",

Sitelinks Search Box JSON-LD giving error on Google Structured Data Testing Tool

南笙酒味 提交于 2019-12-12 08:25:22
问题 I implemented Google’s Sitelinks Search Box to my site. It was working very well. But today I cheked again on Google Structured Data Testing Tool and something was wrong. Now I’m getting below error: And my implementation is: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://www.saatler.com/", "potentialAction": { "@type": "SearchAction", "target": "https://www.saatler.com/arama?ara={search_term_string}", "query-input":"required name

Google now supporting new version of Schema.org BreadcrumbList?

不想你离开。 提交于 2019-12-11 14:39:32
问题 It appears as though Google has now implemented Schema.org version 2 and Google's own examples fail Google's validation test. For example, here's is Google's example JSON-LD code for breadcrumbs: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": 1, "item": { "@id": "https://example.com/arts", "name": "Arts" } }, { "@type": "ListItem", "position": 2, "item": { "@id": "https://example.com

Use Schema.org for Article without image property?

£可爱£侵袭症+ 提交于 2019-12-11 13:59:00
问题 I have implemented Schema.org in my project, I have added Article section but we did not have image so it shows an error A value for the image field is required. How can I fix this error and is there any solution for using Article without image section? 回答1: If you don’t have an image, you can’t (and you are not supposed to) fix it. This is not an error with your use of Schema.org. It just means that you don’t get Google’s Article search feature, which needs an image: The representative image

Duplicate schema/structured data markup?

巧了我就是萌 提交于 2019-12-11 13:49:01
问题 Will this structure be problematic? <script type="application/ld+json"> { "@context":"http://schema.org", "@type":"WebPage", "name":"Postcards", "url":"https://local.mysite.com/postcards.html", "breadcrumb":{ "@type":"BreadcrumbList", "itemListElement":[ { "@type":"ListItem", "position":1, "item":{ "@id":"https://local.mysite.com", "name":"My Site" } }, { "@type":"ListItem", "position":2, "item":{ "@id":"https://local.mysite.com/postcards.html", "name":"Postcards" } } ] }, "mainEntity":{ "

Warning that “image” and “logo” have wrong values

此生再无相见时 提交于 2019-12-11 04:04:09
问题 I've added Schema.org on my blog list with JSON-LD: { "@context": "http://schema.org", "@type": "BlogPosting", "headline": "Fixer la navigation Off-Canvas sur Foundation", "image": "https://stephane-richin.s3-eu-central-1.amazonaws.com/S/foundation-website.jpg", "author": "Stéphane Richin", "datePublished": "2015-02-03", "dateModified": "2015-02-03", "publisher": { "@type": "Organization", "name": "Stéphane Richin", "url": "http://stephane-richin.fr", "logo" : "http://stephane-richin.fr

Structured data not being picked up on telephone number

人走茶凉 提交于 2019-12-11 03:33:42
问题 I have the following snippet of code in a website. When I run this through the Google Structured Data Testing Tool, it doesn’t pick up the phone number. I’m not sure where I’m going wrong: <div class="telephone-number" itemscope itemtype="http://schema.org/Organization"> <p>Call Us: <a itemprop="telephone" href="tel:07749918143">07749 918 143</a></p> </div> The error generated by the validator is: Node is empty. Double check that this is desired and consider removing. Can someone tell me

How do I correctly markup a Product within an Offer within a Product?

a 夏天 提交于 2019-12-10 10:38:36
问题 I am getting Google Search console errors on the Product pages for a website I maintain, and I'm not sure how to resolve the errors. The error I'm getting is: One of offers or review or aggregateRating should be provided. This is simple enough to fix normally, however my confusion is that I am already providing the offers data in a different portion of the json ld. The structure of my Product json ld is Product{ Offers{ Product {} Product {} } } Where the nested products are the different