Posted on

How to add NOINDEX NOFOLLOW in product page for magento 2

I need to change my meta tag to NOINDEX and NOFOLLOW for particular page (especially in product detail page) in magento 2. I have tried adding

<meta name=”robots” content=”NOINDEX,NOFOLLOW”/>

and also

<reference name=”head”>
<action method=”setRobots”><value>NOINDEX,NOFOLLOW</value></action>

In layout update xml but not changing from default how to fix the issue.

P.S.:I need to update via magento 2 backend.

Leave a Reply

Your email address will not be published.