I want to set
<action method="setRobots">
<value>NOINDEX,FOLLOW</value>
</action>
For category page but only when any filter is selected.
So I did the following..
<catalog_category_layered translate="label">
<reference name="head">
<action method="setRobots">
<value>NOINDEX,FOLLOW</value>
</action>
</reference>
</catalog_category_layered>
But it's loading that tag when any filter is not selected.
So basically
When URL is like as following
http://www.example.com/category/cate1.html
I want to it to be indexed. But when URL is like following
http://www.example.com/category/cate1.html?size=xl
I don't want it be indexed.
Any suggestion what should I do??