Mobile app version of vmapp.org
Login or Join
Gail5422790

: Using hidden elements for rich snippets for products I wanted to add rich snippets for my products pages. However, the information required in the elements are not particularly compatible with

@Gail5422790

Posted in: #Google #Html #RichSnippets

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?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gail5422790

2 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

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>
</div>


Based on what I know, Google supports this format.

10% popularity Vote Up Vote Down


 

@Sarah324

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme