Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to search Google by specific URL?

I want to search for results from a specific site but only from a specific section of the site, I want to exclude results that have url segments, for example:

What I want to search for:

http://domain.com/productx

What I want to exclude

http://domain.com/productx/details/further

What query would I use in Google search to get the first results only above.

like image 512
condo1234 Avatar asked Oct 22 '13 14:10

condo1234


1 Answers

site:domain.com/productx -domain.com/productx/details/further

Eg. search all stack overflow but not unanswered directory:

site:stackoverflow.com -stackoverflow.com/unanswered
like image 87
Devnook Avatar answered Sep 24 '22 19:09

Devnook