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. – Donna Hayes Mar 6 '13 at 20:50


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

| improve this answer | |

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.

| improve this answer | |

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.