I have document management site and want to show only word and pdf documents using advance search web part. currently it is showing ".aspx" pages in that search also.

1 Answer 1


Change the default filter for the Search Results Web part to exclude Web pages. There are a number of ways to do this. You can try things like adding "AND NOT FileExtension:ASPX" to the query.

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.