Mobile app version of vmapp.org
Login or Join
Gretchen104

: How do you use 'site:' to search Google for just the domain without all the other subdomains appearing? When I use the site: operator to search for domains, it returns all the other matched

@Gretchen104

Posted in: #GoogleSearch

When I use the site: operator to search for domains, it returns all the other matched subdomains as well. However, I only want to see what's indexed for the main site. For example:

site:google.com returns result of abc.google.com as well, but I only want to see what's on google.com

I don't want to use site:google.com -site:abc.google.com since I don't want to enumerate through all the other subdomains.

Is there a way to do "exact" match with the site: operator?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cugini213

Unfortunately this is not possible. That's one of the reason that in the past prevented me to switch from the www hostname to the non-www root domain.

In fact, if the main site domain starts with www, you can filter with

site:www.example.com


However, there is a small trick. Rather than using the site: operator you can try with inurl operator along with a +.

See for example

site:stackoverflow.com blog


vs

blog +[inurl:http://stackoverflow.com]


If you have multiple words to search for you may want to quote them if they are a single word.

"Ruby 2" +[inurl:http://stackoverflow.com]

10% popularity Vote Up Vote Down


 

@Ann8826881

If the site starts with the subdomain www you can use just:

site:www.google.com

This should only show google.com (followed by a path), and not all the other *.google.com subdomains.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme