Reputation: 1629
Which file would I look in to add nofollow tags to my layered navigation?
Upvotes: 2
Views: 3554
Reputation: 496
open or create app/design/frontend/<package>/<theme>/layout/local.xml
and add the following XML information:
<catalog_category_layered>
<reference name="head">
<action method="setRobots"><meta>NOFOLLOW</meta></action>
</reference>
</catalog_category_layered>
<catalog_category_layered_nochildren>
<reference name="head">
<action method="setRobots"><meta>NOFOLLOW</meta></action>
</reference>
</catalog_category_layered_nochildren>
This will set NOFOLLOW to your meta tag robots in the head of the layered navigation page.
Upvotes: 0
Reputation: 11
Yes,like magento 1.4*,pp/design/frontend/default/base/YOURTEMPLATENAME/template/catalog/layer modify the filter.phtml,state.phtml to add nofllow tags. That is!
Upvotes: 1
Reputation: 1629
Found it:
/app/design/frontend/default/YOURTEMPLATENAME/template/catalog/layer
Upvotes: 3