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>

the result doesn't change.

This is an example of what i have done:

enter image description here

This solution doesn't work.

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

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.