Feature request from riswit, posted on GitHub Jan 22, 2016
After weeks of research, I feel here.
I want to set the robots meta tags - via XML - only in a static page, not all site.
what is the equivalent of this code in magento 2?
Comment from antboiko, posted on GitHub Jan 25, 2016
Hello @Riswit , you can include this < meta name="robots" content="NOINDEX,FOLLOW"/ > into the < head > < /head > section.
Comment from riswit, posted on GitHub Jan 25, 2016
i have maked a static page, throught "Admin - Content - Pages".
I want to set meta tag robots, only in this page.
if i try to set this code in "Design - Layout Update XML":
appears this error:
"Please correct the XML data and try again. Element 'head': This element is not expected. Expected is one of ( referenceContainer, container, update, move ). Line: 1"
What's a method equivalent to this code:
Comment from antboiko, posted on GitHub May 11, 2016
Hi @Riswit , we have internal ticket MAGETWO-52688 for this feature in our backlog.
Hi, did you get the solution?