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

Is there any way to mark parts of a page not to be indexed by Microsoft Search Server Express 2010?

For example all pages have footer, and I wan't be able to do something like

<div class="no-index">

And contents of this block should not be indexed. Is it possible?

share|improve this question
up vote 3 down vote accepted

That's how you do it, but use the class noindex instead, like this:

<div class="noindex"> footer </div>

share|improve this answer
if this div contains links, search server won't follow them in this case? – Sly May 23 '11 at 13:21
I don't think so, but I'm not 100% sure. – Wictor Wilen MCA MCM MVP May 23 '11 at 13:29
Just tried it. All content is skipped and if it contains links to other pages they are not get crawled :( – Sly May 23 '11 at 13:30
Then it works as I assumed, and as I expected. Great to know! – Wictor Wilen MCA MCM MVP May 23 '11 at 13:33
How do you think, div class="noindex follow" will forse search server to follow links inside it? – Sly May 23 '11 at 17:07

In addition to Wictor's answer there are some rumors on the internet that you have to make sure you apply the "noindex" to nested DIV's as well. Just putting a "noindex" on the parent node isn't enough to make sure all child nodes are ignored as well. Each child node seems to be re-evaluated for the "noindex" class, according to various sources:

I'm currently working on a FAST implementation (2010) and the above doesn't seem to apply there. I can put "noindex" on a top node and it will ignore everything below. Maybe it's a SharePoint/Search Server issue...

share|improve this answer

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.