Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
How to disallow search results How to disallow search results spiritualseo msg:3700174 7:56 pm on Jul 16, 2008 (gmt 0) I have a website that produces search URLs that look like this:
How do I disallow this?
The site also has a sort function that sorts products on a page. The URL generated is as follows:
how do I disallow robots from crawling these pages?
Please let me know what I should add to the robots.txt page.
I would be really obliged for the help.
htdawg msg:3700593 8:20 am on Jul 17, 2008 (gmt 0)
I had a similar problem. Not sure if this will help but check this thread out
...] webmasterworld.com goodroi msg:3700723 12:29 pm on Jul 17, 2008 (gmt 0)
htdawg is referring to using wildcards. wildcards aka pattern matching are supported by google, yahoo and msn. they are not officially part of the robots.txt protocol so many of the smaller bots do not handle them well. be careful with using wildcards with those other bots. spiritualseo msg:3700760 1:28 pm on Jul 17, 2008 (gmt 0)
Thanks for the replies..
The sort URL generated looks something like this: product-name?sort1desc=F&sort1=Item_NAME&range=
Would it help if I disallow:
I just need to disallow this single page
htdawg msg:3700784 2:00 pm on Jul 17, 2008 (gmt 0)
I think so unless you have urls like this for example
sort1desc=F&sort1=Item_NAME&range=productname2 sort1desc=F&sort1=Item_NAME&range=productname3 ect..
cause if you just disallow only sort1desc=F&sort1=Item_NAME&range=
you will still have urls like above I think.
so you might have to try the solution in the link I posted before.
Receptional Andy msg:3700787 2:01 pm on Jul 17, 2008 (gmt 0)
will block any url starting with that string (presumably, that would cover all search result pages).