- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022
04:33 AM
10-25-2022
04:33 AM
How do I set noindex for the filter pages
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
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2022
10:19 PM
10-25-2022
10:19 PM
Re: How do I set noindex for the filter pages
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>
Problem solved? Click Accept as Solution!