SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using SharePoint Foundation.

When I perform a search of "news", all of my site pages appear in the search results, because there is a "news" link in my master page. I would like it to only search the pages themselves.

Is this possible with SharePoint Foundation?

share|improve this question
up vote 1 down vote accepted

Surround sections that contain links that you don't want indexed with a div that has class=noindex
ref: Skip part of page during crawl

share|improve this answer
now that i think about it... im confused about this crawling business in general. if i have no links to other pages on my home page, will they ever get indexed? why does sharepoint have to crawl over links rather than simply search through the database? – Nacht Nov 17 '11 at 5:04
The search indexer is a web crawler, if you don't link to a page it doesn't get indexed. It uses this approach, in my estimation, as the end users interact at a web level and thus there is no additional overhead of translating the database relationship etc. in to a web of user accessable pages. – GavinB Nov 17 '11 at 21:10
The database could store relations (a.k.a links) between pages but it would be hard to design a database to handle all the different ways pages may be related. You end up having to parse the entire page as if it were HTML so you might as well crawl the rendered pages directly anyway, plus those links are used in the page ranking algorithm. – Kelly S. French Mar 21 '12 at 13:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.