5

Is it possible to limit the search to specific site using DDG? Much like site:*.co.uk on Google.

5

Yes you can - it is the same syntax.

Site search:

  • You can add site:domain to your search to restrict the results to a particular domain, e.g. duckduckgo site:gabrielweinberg.com.
  • Click the site icons next to the results (on the left) to do a site search for the domain related to that result. You can also do the same by clicking the 'More results' link to the right of the URL line for a given result.

Extracted from this DuckDuckGo article

You can use the "bangs" functionality and directly search most major sites.

Or you can type in a command like !amazon bags, which will take you to Amazon.com and auto-search it for 'bags'.

We call these commands !bangs, and this syntax works for 100s of sites:

  • Most big sites work, e.g. !youtube (see full list below)
  • Most generic keywords work too, e.g. !images
  • There are also shorter versions, e.g. !g (google) !i (images) !yt (youtube)
  • !ducky or '! ' or '\' will take you to the first result.
  • !safeoff will run a search with safe search off.

See this DuckDuckGo article for more information on how the "bangs" functionality works.

  • 1
    The "from this DuckDuckGo article" link is not working any more – Karthikeyan Vaithilingam Sep 3 '19 at 6:19
  • I needed this too as I have just switched over and found the docs @KarthikeyanVaithilingam see my answer – soulshined Dec 2 '19 at 1:29
0

You can by doing something similar with google, except, as far as I've found, it has to be explicit and you can't use regex patterns or wildcards.

To limit to a specific site

<query> site:w3schools.com or <query> +site:www.w3schools.com

To exclude a specific site

<query> -site:w3schools.com

To search with a keyword in url

<query> inurl:w3

reference

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.