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 a way to override a crawl rule in SharePoint 2007 Central Admin? For example, if I have a site and I only want users to see content from in search results, can I block the development and staging sites like so:

Exclude* -- this will exclude .../sites/dev and .../sites/staging

Include: -- will this be included?

Thanks in advance.


I implemented the rule set above and tried to use the built-in test function and results indicated that the portal site would not be included. Not sure if that's truly the case but still curious if this is actual.

share|improve this question

migrated from Aug 1 '11 at 20:46

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

As I've just found out it will work if you use the "correct" order, that is, put the url you want in first, and then exclude the other stuff. Therefore:

(order=1) Include: 
(order=2) Exclude:* -- this will exclude .../sites/dev and .../sites/staging

Will make the test for pass

Unfortunately it is still ignored by the crawler!

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.