astrakid932
astrakid932

Reputation: 3415

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.

Upvotes: 10

Views: 43004

Answers (2)

Devnook
Devnook

Reputation: 1103

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

Eg. search all stack overflow but not unanswered directory:

site:stackoverflow.com -stackoverflow.com/unanswered

Upvotes: 17

zeiddiez
zeiddiez

Reputation: 62

Using Google advanced search page and directing it to search on one site only with terms appearing only in the text of the page would not search linked pages.

Upvotes: 2

Related Questions