Where does Schema.org Microdata go on a page?
-
Say you've got a Magento e-commerce site and you want to add Schema.org Microdata to it to take advantage of Google's Rich Snippets feature.
Would the markup be part of the page's HTML TITLE . . . or somewhere in the bare-bones description (usually wrought by inputting data into separate fields in the CMS), e.g.,
Item: Something
Price: $00.00
Short Description: blah, blah, blahOr, hidden somewhere in the header?
Or, can it be marked-up somewhere beneath my lengthy (and Panda-friendly) content and subsequently extracted by Google and highlighted in the SERPs?
Admittedly, I'm more than a bit late to the Schema.org party and I'm a content-guy anyway; and not much good at under-the-hood stuff. I figure I'd better get my chops together, now.
I've searched Moz.com's Q&A as well as Google's and Schema.org's and haven't come up with an answer yet that doesn't require that I learn a whole new vocabulary.
-
Yes, your question makes sense.
You can put the schema.org properties in any order, but spitting the description like that is going to be problematic. I would also suggest that your example is tedious to read and lacks a product description heading. A more realistic example would be:
h1 Widget /h1
The widget comes in blue, green, ...Hiding the price in the middle of the description is also difficult for humans to read. Putting aside the schema syntax, the example IMO is a poor user experience.
-
Perhaps I worded my question poorly.
When I've tested Schema.org, it returns a result that looks something along the lines of:
Item: widget
Price: $00.00
**Short Description: **blah, blah, blah, blah, blah, blah, blah, blah, blahBut, what if my on-page content reads:"The **widget **comes in blue, green or yellow, and costs $00.00. It blows away the competition and could easily be described as blah, blah, blah, **blah, blah, blah, **blah, blah, blah."
In other words, the page's content is written in a narrative form, and I'd rather not have that narrative broken up with a block showing just the Item, Price, and Description—but, I'd still like to have the benefits of rich snippets.
Did that make more sense?
-
I do not work on Magento, I work with Prestashop, but I think you might come across the same problem I did with my clients. Google does not specifically say you cannot pass a product amount with a currency sign, but I have found they will not accept the "offer" if the price has a currency sign. We had to develop a regex function in smarty to break the currency sign off of out products prices and they were all accepted after that.
-
Thank you. I'll give it a try.
-
The markup is used to identify what the content is. When a human sees
2003 Boxster, Red with Black convertible top, 26,000 miles, $14,000
we know someone is trying to sell something and we know what the item is, the description, and price, but search engines may or may not know this is a product for sale or is a review of a product or something else. The schema.org allows you to tell search engines this is indeed a product for sale and here are the attributes of that product including item name, price, etc.
So, in answer to your question, the markup goes in the body of the page and marks up the content.
Best,
Christopher
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
-
How I improve my ON-PAGE?
Hi, My Tech related site zophra is not rank in google properly and traffic is not increasing. I think my website on-page is not suitable according to google algorithm. Kindly help me if anyone knows about on-page.
Intermediate & Advanced SEO | | igaoevale0 -
Blog page took over homepage
I don't manage to rank my homepage I am trying to rank my homepage on the product name "Rubbee" in Switzerland https://bit.ly/2S004lL, I have .ch domain and it the homepage appears nowhere in the 1 st 20 pages in Switzerland... whereas a website like this one https://bit.ly/2RYCCVT with zero text appears on the 13 th page. For your info when I put the website online over 2 years ago... my homepage was ranking on the 1 st page but since I created a blog page https://bit.ly/2UnL2aX, the blog page took over and it is now impossible to rank the homepage.
Intermediate & Advanced SEO | | seoanalytics0 -
Help with 404 pages
Hello everyone, A few days back, we have permanently removed 3 main categories from our E-commerce website and because of that our more than 50k URLs are showing 404 error (according to Google Search Console). What are the good practices to handle such extensively 404 pages? Please help!!
Intermediate & Advanced SEO | | Obbserv0 -
Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?
We are building URLs dynamically with apache rewrite.
Intermediate & Advanced SEO | | lcourse
When we detect that an URL is matching some valid patterns, we serve a script which then may detect that the combination of parameters in the URL does not exist. If this happens we produce a 301 redirect to another URL which serves a 404 error page, So my doubt is the following: Do I have to worry about not serving directly an 404, but redirecting (301) to a 404 page? Will this lead to the erroneous original URL staying longer in the google index than if I would serve directly a 404? Some context. It is a site with about 200.000 web pages and we have currently 90.000 404 errors reported in webmaster tools (even though only 600 detected last month).0 -
Different Header on Home Page vs Sub pages
Hello, I am an SEO/PPC manager for a company that does a medical detox. You can see the site in question here: http://opiates.com. My question is, I've never heard of it specifically being a problem to have a different header on the home page of the site than on the subpages, but I rarely see it either. Most sites, if i'm not mistaken, use a consistent header across most of the site. However, a person i'm working for now said that she has had other SEO's look at the site (above) and they always say that it is a big SEO problem to have a different header on the homepage than on the subpages. Any thoughts on this subject? I've never heard of this before. Thanks, Jesse
Intermediate & Advanced SEO | | Waismann0 -
Does Google make continued attempts to crawl an old page one it has followed a 301 to the new page?
I am curious about this for a couple of reasons. We have all dealt with a site who switched platforms and didn't plan properly and now have 1,000's of crawl errors. Many of the developers I have talked to have stated very clearly that the HTacccess file should not be used for 1,000's of singe redirects. I figured If I only needed them in their temporarily it wouldn't be an issue. I am curious if once Google follows a 301 from an old page to a new page, will they stop crawling the old page?
Intermediate & Advanced SEO | | RossFruin0 -
I have removed over 2000+ pages but Google still says i have 3000+ pages indexed
Good Afternoon, I run a office equipment website called top4office.co.uk. My predecessor decided that he would make an exact copy of the content on our existing site top4office.com and place it on the top4office.co.uk domain which included over 2k of thin pages. Since coming in i have hired a copywriter who has rewritten all the important content and I have removed over 2k pages of thin pages. I have set up 301's and blocked the thin pages using robots.txt and then used Google's removal tool to remove the pages from the index which was successfully done. But, although they were removed and can now longer be found in Google, when i use site:top4office.co.uk i still have over 3k of indexed pages (Originally i had 3700). Does anyone have any ideas why this is happening and more importantly how i can fix it? Our ranking on this site is woeful in comparison to what it was in 2011. I have a deadline and was wondering how quickly, in your opinion, do you think all these changes will impact my SERPs rankings? Look forward to your responses!
Intermediate & Advanced SEO | | apogeecorp0 -
Noindex term for pages
I have a client who has a virtuemart site and all of the "ask a question on this product" had been indexed on google. I have managed to get a noindex meta tag into the ask a question page, will these be dropped from the index next time they are crawled and google sees the noindex?
Intermediate & Advanced SEO | | webseoservices0