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
-
Product Schema implementation
Hi Once you have added structured data to a web page, say adding 'product schema' to a product page how long can you reasonably expect before it take effects, ie. displays rich snippets ? Also in the case of product schema what triggers the display of the rich snippet ? is it a branded keyword and product title search or just a product title search or can it result from a generic keyword search too ? All Best Dan
Technical SEO | | Dan-Lawrence0 -
Script for Schema
Does any one know of any script that can be written to generate schema on my product pages. I need something that would be compatible with a custom php website. Here is an example of what I am looking for, it's for Magento so I can't use it: http://www.magentocommerce.com/magento-connect/schema-org.html. Or, if you have any idea on how to do implement schema without doing it manually please let me know here! Thanks!
Technical SEO | | WSteven0 -
Schema markup for products is missing "price": Is this bad?
Hey guys, So a current client of mine has an e-commerce shop with a few hundred products. They purposely choose to keep the prices off of their website, which is causing errors in Google Webmaster Tools. Basically the error shows: Error: Structured Data > Product (markup: schema.org) Error type: missing price 208 items with error Is this a huge deal? Or are we allowed to have non-numerical prices for schema ie. "call for quote"
Technical SEO | | tbinga1 -
Meta HTML tag code
I have been instructed by Moz that I have some missing meta description tags; however, this is what comes up when I searched for more help on this site: "The proper coding for a meta HTML tag is These Meta descriptions can be nested anywhere in the element." Obviously the actual coding is missing... so can anyone tell me what the proper coding for a meta HTML tag is? Thanks!
Technical SEO | | marissaRT0 -
Schema markup
Hi, I'd love to use schema markup, but I don't think there is one for the type of products we sell (mortgages). Does anyone know of a way of using schema markup for a page like this: https://www.turnkeymortgages.co.uk/mortgage/mortgage-rates/ The regulator for mortgages (FCA) in the UK has rules about how products are displayed, we have to show all the information in the table (see the link), and the compliance text (your home will be repossessed....) with every product. This is why I haven't tried to 'cobble' something together from the existing markup available - I can't fall foul of the regulator (or be misleading to customers). Anyone have any thoughts on this? Or, should I just wait until Schema come up with a markup suitable for such products.
Technical SEO | | CommT0 -
Htaccess code to 301 redirect a folder change
Hi, I need some help to redirect all my site as there was a folder change. eg, the old structure was www.mysite.com/stuff-1/bags.html and I need it to go to the same structure without the "-1" eg: /stuff/bags.html
Technical SEO | | Paul_MC
The "bags.html" will be lots of different products, so this would be a wildcard? What would the htaccess code need to be? Thanks0 -
No Search Results Found - Should this return status code 404?
A question came up today on how to correctly serve the right status code on pages where no search results are found. I did a couple searches on some major eccomerce and news sites and they were ALL serving status code 200 for No Search Results Found http://www.zappos.com/dsfasdgasdgadsg http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=sdafasdklgjasdklgjsjdjkl http://www.ebay.com/sch/i.html?_trksid=p5197.m570.l1313&_nkw=dfjakljgdkslagklasd&_sacat=0 http://www.cnn.com/search/?query=sdgadgdsagas&x=0&y=0&primaryType=mixed&sortBy=date&intl=false http://www.seomoz.org/pages/search_results?q=sdagasdgasdgasg I thought I read somewhere were it was recommended to serve a status code 404 on these types of pages. Based on what I found above, all sites were serving a 200, so it appears this may not be the best practice. Any thoughts?
Technical SEO | | WEB-IRS0 -
Coding - where to start?
I've been working in digital marketing for a few years and over the past 2, I've concentrated on getting my head around (or trying to!) the world of SEO. Everything from reading this forum, listening to webinars and re-reading the beginners guide to SEO has provided me with the confidence to put in actionable insights into my work such as on page optimisation, keyword research, link build and passing this knowledge onto co-workers However, one area I am beginning to realise is just as important is having the ability to code for yourself. Can anyone out there point me in the right direction of where to start, what I program I should concentrate on? and what I shuld focus my energies on? Any help would be great Simon
Technical SEO | | simonsw0