19

I would like to do a search query and filter out all results from www.foo.com. How do I do that?

19

This may help: (From this site: http://www.greghughes.net/rant/HowToExcludeADomainFromYourGoogleSearchResults.aspx)

"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."

  • Latest addition, you can block domains now from your search, see: google.com/reviews/t – pritaeas Aug 15 '12 at 14:13
  • 1
    Domain block is not defunct as part of Google. I have resorted back to -site: as above, but I use a text expander to open up my whole list of domains I'd rather not see. I answered a similar questions here: webapps.stackexchange.com/questions/30198/… – EFH May 30 '14 at 18:45
  • Looks like this site is down. A full example should be edited in to improve the quality of the answer per SO's new guidelines. – anon58192932 Jul 8 at 21:30
7

You can exclude a domain by combining operators, so if you want to search for example but not see stuff from example.com, you can input example -site:example.com.

0

1. Choice

HUROGS Firefox addon Hide Unwanted Results of Google Search — is my choice.


2. Limits

You need to use Firefox.

If you want to use Chrome, possibly, you can help this and this answers.


3. Environment

Addon successful works for me in:

  • Windows 10 Enterprise LTSB 64-bit EN,
  • Firefox 54.0.1 (64-bit).

4. Demonstration

SERP without filters:

Without filters

For example, I want to exclude YouTube and IMDb. Right-click to link of YouTube and IMDb in SERP → select Add This site to Hide Results → results hide:

Hide results

You can see and manage excluded domains. about:addons → find Hide Unwanted Results of Google SearchOptionsSettings…:

Addons page

You can temporarily turn on excluded sites, if you unchecked mark.

Unchecked


5. Features

  1. You can forever hide results from unexpected site(s). If you use -site:, operator from @Su answer, you need wrote -site: operator each time, as you want exclude site. It may take a lot of time.
  2. Multiple sites excluding support,
  3. Regular expressions supports for excluding parts of domains.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.