Excluding Specific Sites from Search Results on Google and DuckDuckGo
This article was automatically translated from Japanese by AI. Read the original Japanese version →
Table of Contents
I normally use DuckDuckGo as my search engine. Not Google—DuckDuckGo. There are a bunch of reasons, mainly that Google annoyed me by pushing sites from companies that pay Google to the top, and that DuckDuckGo's icon is cute.
By the way, search engines always come with a problem like this:
I don't mind user-submitted recipe sites existing, I just wish they wouldn't show up at the top of search engines. There are recipes that pros spent time and effort creating, so why are amateur recipes ranking above them?
— kazasiki (@kazasiki) August 1, 2020
So let's block the annoying sites.
The Easy Way
Since most readers of this blog probably use Google, I'll start with how to do it on Google.
You simply use a - (hyphen) in the search box to specify excluded terms. Even better, if you specify a site's domain in the format -site:hogehoge.com, you can exclude that specific site. This works the exact same way in DuckDuckGo too.
The Permanent Way
That said, typing that string every single time is a pain. So let's use Chrome's Manage search engines feature.
This feature is simple: you just embed your search query into the search URL. For example, I set my URL like this to exclude various sites from my search results:
https://duckduckgo.com/?q=%s+-site:gnavi.co.jp+-site:tabelog.com+-site:www.hotpepper.jp+-site:qiita.com+-site:cookpad.com+-site:recipe.rakuten.co.jp (%s is the search query)
You can configure this the exact same way for Google. One thing to watch out for is that duplicate keywords (the text shortcut used for the search engine) aren't allowed. Since google.com and duckduckgo.com are already taken, you'll need to work around it by leaving off the .com or something similar.
When I looked it up, there seem to be Chrome extensions that block specific sites by modifying the search results page, but first of all they don't support DuckDuckGo. Plus, that type of Chrome extension can break whenever the target site changes its layout, so if there's a built-in workaround, it's safer not to rely on extensions.
That's all.
