Friday, May 30, 2008
If you're like me, you rely on Google a lot to help you though your day. There are a few sites out there that - much to my frustrated chagrin - include their content in Google's index but won't let you see the content when you click the search results link - unless you sign up for an account (sometimes you even have to pay). I know there are some ways around the blocked access (Google can see the content, so there are open doors), but what I really want is a way to avoid seeing those sites in my search results.

As it turns out, excluding a domain from search results is very simple. It's not very clearly documented anywhere, but I'll tell you here, so you'll be a tiny bit smarter and look really cool to whomever you show it to in the future.

To start, one key thing about searching with Google that we need to understand is that in pretty much any Google search you can exclude anything you want by preceding it with a minus sign when you type your term into the search box. Knowing this, we can exclude almost anything - including a domain/site.

Next, we need to know how to search and specify a domain in our search query term. We do this by entering the word "site," followed by a colon, followed by the domain name. For example, I can search for an exact match on my name within this site's domain by structuring my search term like this:

Similarly, if I want to search for exact matches on "Greg Hughes," but this time I want to search all sites except greghughes.net, I do it like this:

Note the "minus sign" that precedes the "site:" search operator in this case. That's how we tell Google to exclude the site/domain specified.

So there you have it. Want to exclude a domain from your search term? Just specify the domain with "-site:" and you're all set.

But what if you don't want to specify the domain to exclude every time by hand? In that case, set up a Google Custom Search Engine (http://www.google.com/coop/cse/) and specify during setup that you want your custom search engine to include results from the entire Internet. Then, after your search engine has been created, go to the Control Panel, choose the "Sites" tab, and from there you can specify as many domains as you like to exclude from every search. You'll get a custom search engine that you can tweak to your heart's content.



That's it - hope it helps someone in need. Enjoy!


Add/Read: Comments [3]
Tech
Friday, May 30, 2008 2:25:10 PM (Pacific Daylight Time, UTC-07:00)
#  


Referred by:
exclude site from search results (www.google.com) [Referral]
http://www.google.com/reader/view/ [Referral]
google excluding domains (www.google.com) [Referral]
google search exclude a domain (www.google.com) [Referral]
exclude domain google (www.google.com) [Referral]
Excluding certain results from a search engine (www.google.co.uk) [Referral]
how to exclude expert-exchange from search (www.google.com) [Referral]
exclude search result from domain (www.google.com) [Referral]
how to exclude thing from search (www.google.com) [Referral]
who exclude me from messenger (www.google.com) [Referral]
google search always exclude site (www.google.es) [Referral]
http://leastresistance.wordpress.com/2008/08/25/links-for-20... [Referral]
exclude experts echange from searches (www.google.com) [Referral]
exclude domain in search (www.google.com) [Referral]
exclude domain from search (www.google.com) [Referral]
how to exclude sites from google search (www.google.co.za) [Referral]
exclude experts exchange google results (www.google.com) [Referral]
http://www.communityguy.com/ [Referral]
exclude domain from google (www.google.com) [Referral]
exclude whole domain name google (www.google.gr) [Referral]
google search exclude domain (www.google.com) [Referral]

More...
Wednesday, July 02, 2008 6:34:54 PM (Pacific Daylight Time, UTC-07:00)
Thank you for this tip. I was always wondering how I can www.expert-exchange.com from my results. I 'll try this soon.
Mansour
Tuesday, August 12, 2008 5:03:57 AM (Pacific Daylight Time, UTC-07:00)
Thanks a bunch! I was, as Mansour, also wondering how to exclude experts-exchange.com from my serch results! This works like a charm!
Thursday, August 14, 2008 8:39:11 PM (Pacific Daylight Time, UTC-07:00)
Thanks so much. I also wanted to exclude experts exchange. What a stupid website. Thanks :) Mariellen
mariellen
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Live Comment Preview