0

I am trying to setup some specific crawl rules , I have a local site that is being indexed

http://mylocalsite

and I only want to index files under a certain location such as http://mylocalsite/forms/ but sharepoint will index and follow the links on the pages giving me search results outside of what I want to index

How can I setup crawl rules to specifically limit the search results to a single directory http://mylocalsite/forms/

2

Create two rules:

1) http://mylocalsite/forms/* with an "Include" (And any other options you want)

2) http://mylocalsite* with an "Exclude" (And any other options you want)

Only one crawl rule will ever be active for content, and it will activate based on how close it is to the top of the list. All content inside the "forms" directory will therefore hit the first rule and go through, while all other content will be blocked.

0

Depending on your situation, you could also set up a scope with a "required" rule of "http://mylocalsite/forms/"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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