Monday, July 07, 2008

How to search multiple domains with Google

It is possible to do a Google search and restrict the results to a single domain by using the Advanced Search form. You can also use the regular search form with syntax like:
search term(s) site:siteName.com
where siteName.com is the site you want to search. Google will show you search results from just that one site. For example: Search for "football" at umich.edu. As of the time of this writing, the Advanced Search form doesn't seem to support searching multiple specified domains instead of just a single one; adding a space between the domains entered on the "Search within a site or domain" field doesn't work (Google automatically removes any spaces before performing the search). Using one of the characters , ; : in the field as a delimiter doesn't work, either. However, you can do a multiple domain search by using syntax like this in the regular search form:
search term(s) site:siteName1.com OR site:siteName2.com
where siteName1.com and siteName2.com are the sites that you want to search. For example: Search for "football" at umich.edu and msu.edu.

7 comments:

  1. Thanks very much. This was just what I was looking for.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Thank you. Had a pain trying to find a way to do this. Thought I had tried this before, but guess I got the syntax somehow wrong.. Anyway works as a charm ^^

    ReplyDelete
  4. I've been trying to do this for a long time. Thanks!

    ReplyDelete
  5. Seems to be working pretty well.

    ReplyDelete
  6. Can these multiple domain search be saved? Or do I have to manually paste it in each time?

    ReplyDelete
  7. Thanks a lot dude. stupid Google who dos not accept , ;
    after all you cant search in much sites because it will tell you your search shouldn't be longer than 32 words! :(

    ReplyDelete

Non-spammers: Thanks for visiting! Please go ahead and leave a comment; I read them all!

Attention SPAMMERS: I review all comments before they get posted, and I REPORT 100% of spam comments to Google as spam! Why not avoid getting your account banned as quickly -- and save us both a little time -- by skipping this comment form and moving on to the next one on your list? Thanks, and I hope you have a great day!