Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Block a site from search engine - DuckDuckGo

I have a development site https://text-domain.com. (not a real site) When I go to https://duckduckgo.com and search for text-domain.com, it does return results.

What have I tried so far:

Created robots.txt file with following code(put in in my root directory i.e in text-domain.com/robots.txt):

User-agent: *
Disallow: /

Then added meta-tag like this in my template file:

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

Even after doing this, I searched on DuckDuckGo and it yielded the same result. Any suggestions would be welcome.

P.S

Hi, after waiting for few days there are 2 findings:

  • Still, the search results are fetched.
  • But I see an message for that result saying : "We would like to show you a description here but the site won't allow us."

    Is it possible to completely block from showing in the results?

like image 816
Vimalnath Avatar asked Aug 06 '13 12:08

Vimalnath


People also ask

Can I block websites on DuckDuckGo?

ublacklist is an extension which lets you remove sites from search results. Note that by default it works with Google, but you can enable DuckDuckGo and other search engines in the options. You can also subscribe to blocklists.

How do I block certain websites from search results?

Exclude sites from your search engine: In the Basics tab, click Advanced under Sites to Search to expand the Sites to exclude section. Click Add under Sites to exclude. Enter the URL you want to exclude and select whether you want to include any pages that match or only that specific page.

Does DuckDuckGo have incognito mode?

And when you get served an ad based on that "incognito" search you did recently (like, let's say that surprise vacation you were planning), it's not so private anymore. On the other hand, DuckDuckGo doesn't track your search history at all, regardless of whether you're “incognito” or not.

How do I stop DuckDuckGo from searching?

Please go to 3 Bar Menu (far right) Click then Options then Search Change Default search Engine to what you want to use. Move down to the list and Click Go Duck Go (who's results are from Google) and then Click Remove at bottom. Please let us know if this solved your issue or if need further assistance.


2 Answers

DuckDuckGo is an odd duck when it comes to inclusion in their results. I've done a fair bit of research on this topic across a number of search engines and have had some email back and forth with DDG.

Here's the deal. They get their content from other search engines, as listed here. To my knowledge their search results don't indicate which search engine was its source, so for your content to be removed you need to basically go upstream to all of their sources and get your content removed from there. If that sounds onerous, don't worry — you'd want to do that anyway, right?

DDG does have its own crawler as well, aptly called the DuckDuckBot. It does not honor the noindex HTML tag, nor the HTTP header (it does honor robots.txt), but that doesn't seem to matter because no new results are created by the DuckDuckBot. To my knowledge, this isn't documented anywhere, but I spoke with their staff, which I quote below:

DDG says (2014-06-06):

We get our results from multiple sources and our own crawler wouldn't be the cause of your [problem]. Our crawler only does very specific tasks, like looking (and not actually crawling) parked domains, spam sites, etc.

If there are results from [your website] appearing on DuckDuckGo and shouldn't be, they're likely flowing from one of our upstream sources. If removed there, then they'll stop showing in our results.

I respond:

OK, so nothing gets put in your index via your crawlers, which indeed do not support noindex HTML or HTTP tags?

They confirm:

Yep! Sorry for the confusion and, if you see anything out of the ordinary, please feel free to let us know.

So then the only remaining question is how do you remove your content from the upstream providers. For that, I point you to my blog since it differs by provider. The crux of it is:

  1. Use noindex HTML meta tag and x-robots HTTP tag (for images and such) to tell search engines not to include something in their results;
  2. List your entire website in your sitemap.xml file so that all search engines can find it there.
  3. Use robots.txt to block the search engines that do not support noindex or x-robots tag.

And for bonus points:

  1. Set your sitemaps.xml files so they have noindex set up (and thus won't show up in search results).
  2. Do likewise for your robots.txt file.

It's a complicated world.

like image 92
mlissner Avatar answered Sep 23 '22 08:09

mlissner


DuckDuckGo should honour your robots.txt. Their bot DuckDuckBot is documented at https://duckduckgo.com/duckduckbot.

But note: the DuckDuckGo bot isn’t crawling everything itself (as DuckDuckGo gets results from other sources), so your pages might still show up if you don’t block the bots of these other sources (like Bing). Refer to mlissner’s answer for more details.

With robots.txt, there are two things to consider:

  • It takes time until changes in your robots.txt are recognized. You have to wait until the relevant bot visits your site again.
  • Even if your URLs are blocked in the robots.txt, search engines may still list your URLs in their search results (without crawled metadata like title and description).

Using the robots-meta element with noindex would prevent even listing the URLs in search engines like Google, but DDG doesn’t seem to support it.

Note that you used wrong quotation marks in your example. It should be

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

instead of

<META NAME=”ROBOTS” CONTENT=”NOINDEX, NOFOLLOW”>
like image 40
unor Avatar answered Sep 23 '22 08:09

unor