2

I want to modify this line for only one category:

<meta name="robots" content="INDEX,FOLLOW" />

I want to add noindex like this:

<meta name="robots" content="NOINDEX,FOLLOW" />

I tried to add this code to Custom Layout Update in Custom Design tab of category:

<reference name="head">
    <action method="setRobots"><value>NOINDEX,FOLLOW</value></action>
 </reference>

the result doesn't change.

This is an example of what i have done:

enter image description here

This solution doesn't work.

1
  • just tested it on fresh magento 1.9.1.0 install. worked. you probably have an extension that prevents it from working. – Konstantin Gerasimov Dec 19 '16 at 17:28
0

You need to add the code snippet on the default view if your content is on another store view.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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