0

I'm using Wordpress and WooCommerce for my online shop. With the theme I'm using you can customize the product-category pages by adding "blocks".

So if I want to have a text on the top of a product category page I simply create a block page, lets say its called "category-info". I can customize this block just as a normal Wordpress page. The block will be availabe under http://example.com/block/category-info/ - but nobody will access the block site by it self because this block gets integrated in a product category page.

Finally I can fill in the name of the block in my product category settings and after this the content of the block will be shown on the product category page.

My question is what should I do in order to avoid that Google and other search engines index those "block pages" itself? Should I deny the access in the robots.txt or the xml sitemap ect? It's very important that the content of the block, which you can see on the product-category page - still gets indexed and crawled from google - just the direct link to a stand-alone block page should get removed. Thank you very much in advance

John Conde
  • 217,595
  • 99
  • 455
  • 496
ouiber
  • 3
  • 2
  • Hey, regarding your style of question: when asking / answering by using very much text it would be helpful to **highlight the main keywords and the question**. You may want to think of that while editing your question and asking / answering in the future :) – LinusGeffarth Jun 13 '15 at 18:49
  • 1
    Hi Linus. Thank you for your advice. – ouiber Jun 13 '15 at 18:53

1 Answers1

2

Noindex tags would be useful. https://support.google.com/webmasters/answer/93710?hl=en

user29671
  • 782
  • 6
  • 13