Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

How to block old search page results from G's Custom Search?

         

TimmyMagic

11:22 pm on Jul 20, 2008 (gmt 0)

10+ Year Member



Hi,

I just signed up for the Google Custom Search and love it!

The only problem is that it shows results for my shopping carts inbuilt search facility which I no longer use, and haven't had on the site for a long time. I have the following in my robots.txt file:

Disallow: search.php

When I do a test search using the new custom search it shows results such as:

Title = Search Results
Desc = #*$!#*$!#*$! (varies)
URL = www.mysite.com/search.php?mode=search&page=6 -

Does anyone know how I can omit the custom search from showing these results? They don't look good.

proboscis

12:04 am on Jul 21, 2008 (gmt 0)

10+ Year Member



This might work

Disallow: /*?

supposed to block any url with a ? I think.

tedster

12:17 am on Jul 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google's Custom Search help pages cover this topic pretty well:

Adding or Excluding Pages [google.com]

TimmyMagic

1:29 pm on Jul 21, 2008 (gmt 0)

10+ Year Member



Thanks guys!