Hi. I'm new to magento and i need to add no index tag to filters url . ex : https://example.com/blugi-dama?colour=13, https://example.combudget-sarees?price=450-1000,1000-1300/
need to add nofolow tag if filters are selected. any idea or module? thanks
Hello @vara0244gmd0d3
You need the correct layout handle, for layered navigation use this code (be careful, this adds NOINDEX to unfiltered pages too!):
<catalog_category_layered> <reference name="head"> <action method="setRobots"><value>NOINDEX,FOLLOW</value></action> </reference> </catalog_category_layered>