I don't want site:stackoverflow.com (that rules out other sites).
I don't want to star stackoverflow.com Google results (that's too manual).

I want to search Google such that any stackoverflow.com result will automatically appear before results from other sites (which then appear below).

Is this possible?


I sometimes want to do exactly that, and then I just add the word "stackoverflow" to my search string. This works wonders. Observe:


This Google Custom Search searches the entire web but emphasizes Stack Overflow results.

Not exactly what you need but close.

Compare: coinitialize on Google vs. coinitialize on Custom Search

(Doesn't work for beer or sunset keywords though.)

  • From the question, which this solution does not offer: "any stackoverflow.com result will automatically appear before results from other sites". The first result from your "Custom Search" link above is from MSDN? – lance Dec 6 '10 at 14:45
  • @lance True. On the other hand it uses relevance which is in my opinion better. Anyway, I edited my answer. – Pavel Chuchuva Dec 6 '10 at 21:47

Bigger picture : Google is working on it and you can help them.
Google released a Chrome extension allowing users to blacklist domains and report it to Google servers in order to detect content farms (such as websites which scrape stackoverflow content).



The search engine DuckDuckGo has something they call !-syntax. You can prefix (or infix or postfix) a search query with, for example !stackoverflow or !so and it will search StackOverflow for your query directly from the search bar. It also pulls content for its regular search results directly from the SOFU trilogy so your chances of finding a relevant answer are that much greater.

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.