Most Magento webshop administrators already know that they can manage SEO tags like title, keywords and description of a CMS page from Magento backend easily. There is separate tab for 'Meta data' (M1) and Search Engine Optimisation (M2) for this purpose. Not many know that it is also possible to easily edit and manage meta robots tag for any Magento page CMS page from backend. This option can be used to put pages to noindex, nofollow where you don’t want search engines to index duplicate or unnecessary content.
It comes handy when you want exclude certain info. or legal pages on your webshop from being indexed by search engines.

In Magento CE 1.X you can do that from admin > CMS > Pages > Open your page > Design > Page Layout > Layout Update XML > You can enter a snippet like this:

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

You can also use FOLLOW if you want that.

Magento 1.X meta robot tags

It will show up in head section of page-source as following:

Page source


In Magento OS 2.X you can manage this from admin > Content > Pages > Open your page > Design > Layout Update XML > You can enter a snippet like this:

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

Magento 2.X meta
robot tags

If you get an error then it means your Magento build is not latest and it needs a fixed as explained here.
 

Live chat: cookie consent required

Copyright © Hungersoft 2019

· Terms & Conditions · Privacy policy