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.

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

2 Answers 2



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


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.


Your Answer

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

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