3

I want to change meta robots for a particular page. By default I find every meta robots value as index/follow but, I want to change meta robots for few pages as noindex/follow.

Please help me to fix this.

  • Tell me gays one thing if i want to change meta robots to Noindex,follow for every products in a website so is there any way to change it ones ? – abdul wahab Jan 2 '19 at 10:38
  • If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. - From Review – Rama Chandran M Jan 2 '19 at 10:56
4

If you only want to do this on certain CMS-pages you can easily do this by inserting the following into your XML layout update of those pages:

<reference name="head">
   <action method="setRobots"><value>NOINDEX,FOLLOW</value></action>
</reference>
  • And the same can be accomplished by using the correct layout update handle in the local.xml layout file. – benmarks Dec 6 '14 at 13:34
  • This should also work for products and categories as well. – Wojtek Naruniec Dec 6 '14 at 22:01

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.