Schema coding
-
Hi,
I was wondering if you may know if you have to keep to the
and coding when adding schema code to the site. For example if I'm already using H and P tags can I add the "itemprop" to those or do they have to be in aor as in the example below:
<span itemprop="name">Kenmore White 17" Microwavespan>
Product description:
<span itemprop="description">0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.span>So could I code it like this?
<h1 itemprop="name">Kenmore White 17" Microwaveh1>
Product description:
<p itemprop="description">0.7 cubic feet countertop microwave. Has six preset cooking categories and convenience features like Add-A-Minute and Child Lock.p>Thank you,
Etela -
That is great. Thank you Alan.
-
You can use the H1 tags, I have done so and passed Google rich snippets tool.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is there any benefit or negative impact to including schema for both @type WebPage and NewsArticle on the same page?
Is there any benefit or negative impact to including schema for both @type WebPage and NewsArticle on the same page? The websites I work on are editorial news sites. Our CMS automatically outputs WebPage schema to every article we publish. I want my dev to set up auto-generated NewsArticle schema. The are pretty much identical with a few different attributes. I just want to make sure I make the right choice about adding both or removing one.
Technical SEO | | DJBKBU0 -
Correct use of schema for online store and physical stores
I have been getting conflicting advice on the best way to implement schema for the following scenario. There is a central e-commerce store that is registered to it's own unique address which is "head office". There are a few physical shops each of which has their own location and address. Each shop has its own landing page within /our-stores/. So each page on the website has the Organisation schema for the central 'organisation', something like: Then on each physical store landing page is something like the following as well as the Organisation schema: Is this correct? If it is should I extend LocalBusiness with store URL and sameAs for GMB listing and maybe Companies House registration? It's also been suggested that we should use LocalBusiness for the head office of the company, then Departmentwith the typeStore. But i'm not sure on that?
Technical SEO | | MickEdwards0 -
Schema for blogs
When I run a wordpress blog through the structured data testing tool I see that there is @type hentry. Is this enough for blogs etc? Is this a result of Wordpress adding in this markup? Do you recommend adding @blogposting type and if so why? What benefit to add a specific type of schema? How does it help in blogging? Thanks
Technical SEO | | AL123al4 -
Handling Pages with query codes
In Moz my client's site is getting loads of error messages for no follow tags on pages. This is down to the query codes on the E-commerce site so the URLs can look like this https://www.lovebombcushions.co.uk/?bskt=31d49bd1-c21a-4efa-a9d6-08322bf195af Clearly I just want the URL before the ? to be crawled but what can I do in the site to ensure that these errors for nofollow are removed? Is there something I should do in the site to fix this? In the back of my mind I'm thinking rel-conanical tag but I'm not sure. Can you help please?
Technical SEO | | Marketing_Optimist1 -
Several Items in the Organization schema structured file
Hi MOZ community! Could you please help me with the issue? I have implemented Organization Schema on the website. But according to the structure I can not markup data once. So now I have 2 Items for a Organization schema on a page. The questions are: 1. Does Google consider both of them? 2. Is that OK to have a few Items for one type of schema on the page? Thank you
Technical SEO | | juicefromtheraw10 -
Are Review Dates Necessary in Schema markup for Ratings to Appear in SERPS?
Schema seems to be properly set up according to Google Webmaster Tools and the Structured Data Testing Tool... https://developers.google.com/structured-data/testing-tool/?url=http://www.myessentia.com/mattresses/classic-8 Are dates for reviews necessary to getting the star ratings to appear in the SERPS?
Technical SEO | | schmeetz0 -
Schema.org for restaurant menus
Hi i have looking into ways that i can apply shema.org formatting to a website that has a collection of restaurant menus. I found related schema.org formats (eg recipes, reviews, products etc) though can not seem to find a format set out for menu items. I am considering using the product format (http://schema.org/Product) for each menu item on a restaurant menu though not sure if this would add much value or not. I was hoping Google when then know more about the data collected on the website and be able to show it more accurately to the end user when they are searching for this data (restaurant menu), with rich snippets in serp results. Thanks in advance for your feedback.
Technical SEO | | blackrails0 -
Schema.org how long does it take?
Since 5 days ago I changed my html template in my ecommerce to comply with schema.org for products. How long does it take to be seen on google, our keyword 4700DN, its one that appears in the top 10 results, but it still doesnt show it with schema.org (price+starts+ratings) What should I do? http://www.google.com/webmasters/tools/richsnippets?view=cse&url=http%3A%2F%2Fwww.theprinterdepo.com%2Fhp-color-laser-4700dn-printer-q7493a
Technical SEO | | levalencia10