1

I have 40 document libraries. I dont want to add exclusion for each document library to exclude "http://pop.abc.com/sc/doclib1/Forms".

I tried adding fileextension = aspx exclude and that does not work (fileextension is checked for allow this to be used in scope)

I tried adding contenttype = folder with exclude and that did not help either.

What is the best way to do this without touching the farm level settings?

I want to exclude all the aspx pages in the forms folder and views too.

1
  • Also tried contentclass = STS_List_GenericList with Exclusion to prevent views to show up in the result but no help. Mar 6, 2013 at 20:50

2 Answers 2

1

http://prajapati-jatin.blogspot.com/2011/10/exclude-allitemsaspx-pages-from.html

This should have directions to exclude any .aspx file from search results

1

Actually, I feel little dumb. I had to go to site collection settings and only pick the scope i wanted that site to use. Then my fileExtension=aspx exclusion rule worked.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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