I wanted to add rich snippets for my products pages. However, the information required in the elements are not particularly compatible with my current HTML. Is it ok to make the rich snippets all hidden display, so it doesn't effect my HTML?

2 Answers 2


No. Serving up content only for the benefit of search engines is a major violation of their terms of services and will result in penalties for your site up to and including banning. You should refactor your HTML to be compatible with the rich snippets so you can take advantage of them without doing the exact opposite of what you're hoping to accomplish.

  • 2
    But for example my heading of the site is where I include the product name, but the heading contains other words other than just the product name, no where on the products page do I have just the product name. Ok perhaps I could have <h1>Buy <span id="snippet_element"><product name></span> Online</h1> Would that be the way around it?
    – Source
    Commented Dec 6, 2013 at 4:26
  • That sounds like a good solution to me
    – John Conde
    Commented Dec 6, 2013 at 13:49

Try using schema.org metadata for Product. If you want to add information that is not visible, you can use:

<div itemscope itemtype="http://schema.org/Product">
    <meta itemprop="name" content="YOUR_PRODUCT_NAME">
    <h1>Buy Online</h1>

Based on what I know, Google supports this format.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.