Add a “no follow” tag to layered navigation links

If you have a lot of categories and/or subcategories, it doesn’t make a lot of sense to have the search engine robots index and follow all your layered navigation links. While you might think it would be great to have so many extra pages indexed, you’re really only creating hundreds or thousands of duplicate content pages that could ultimately lessen your SEO rankings in the long run.

There’s an easy way to quickly add a rel=”no follow” tag to all your layered navigation links:

(The original page depends on how you’ve structured your site using DEFAULT, BASE or YOURTHEME – you don’t want to modify the original core Magento pages)

Install the change, clear your cache and you’ll notice all your layered navigation links now have rel=”no follow” which will hopefully reduce your duplicate content issues and also decrease the processing resources required on your server to handle all those page requests.

Magento Tips & Techniques

Magento is one of the leading E-Commerce platforms. The information provided in this site hopefully will help you with some "tweaks" to enhance the shopping experience or assist the administrator.

The posts are in no particular order but are added whenever I think of a tip, technique, code snippet or change that I think might be useful to the community.

I've only included 'hacks' that can be implemented by someone with a general Magento structure knowledge and basic php skills. More sophisticated Magento modifications are available from numerous sites and the Magento Knowledge base.