Forum Moderators: open

Message Too Old, No Replies

How to search into several sites

Use of 'site:foo.org'

         

dirson

3:00 pm on Nov 10, 2002 (gmt 0)

10+ Year Member



Hello.

I want to search a word into several sites. I mean, I would like to find a word, but only in foo1.org, foo2.org and foo3.org.

I tried with
myword site:foo1.org site:foo2.org site:foo3.org
myword site:foo1.org,foo2.org,foo3.org

None of them works.

Any suggestion?

RBuzz

4:45 pm on Nov 10, 2002 (gmt 0)

10+ Year Member



Hi Dirson,

This isn't working because Google defaults to AND. What you're saying to Google is this: "I'm looking for keyword foo and the result pages have to come from foo1.org AND foo2.org AND foo3.org." Obviously a page resides on only one domain so you are not getting any results.

Instead, you need to use OR. I find ¦ quicker to use than typing out OR. So your query should look like this:

myword (site:foo1.org ¦ site:foo2.org ¦ site:foo3.org)

Hope this helps!