Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
    
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

2 Answers 2

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

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

share|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.

share|improve this answer
    
please mark an answer as accepted, thanks. –  Alexey Krasheninnikov Dec 8 at 11:17

Your Answer

 
discard

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.