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 want to exclude all .pdf documnets from being searchable, in a particular site and all its subsites. Note, the starting site is NOT a top-level site collection.

Can this be done?

I'm using SharePoint Online?



share|improve this question
Can you work on your accept rate? It may help you attract more answers. 43% is a little off-putting. –  RJ Cuthbertson Nov 16 '12 at 14:46
Do you mean how many questions I mark as answered? I will see what I can do. I haven't been marking things as answered, as generally it seems there's always scope for more answers. And I wouldn't want to kill the question. I guess I'm doing it wrong! –  finisterre Nov 16 '12 at 14:48
Correct, your accept rate is publicly visible because the method of gamification of a forum like this rewards users for answering questions via points and badges. If you ask a question and never accept an answer, valid assistance isn't rewarded. If a user consistently does not accept answers, the low accept rate will deter other users from assisting them, since the probability of being rewarded is approximately that of the low accept rate. –  RJ Cuthbertson Nov 16 '12 at 14:51
I'll review my older questions, and bear it in mind for new ones. Where do you see this percentage? I can't see yours? –  finisterre Nov 16 '12 at 14:52
It's visible when someone asks a question. Answering your question now. –  Hugh Wood Nov 16 '12 at 14:59

1 Answer 1

up vote 5 down vote accepted

There are multiple ways of doing this:

1) Exclude the file extension using scopes in central admin and tell the search results page to use this scope

2) Remove the ifilter if you want it removed completely

3) Filter with an xslt transformation on the search results page

I would if it was the whole farm I would go for option 2, if it is for a single collection then option one, if it is for a small site then option 3.

share|improve this answer
Thanks Hugh. It's SharePoint Online so I don't have access to Central Admin for 1). I'll investigate the other two. Don't suppose you know if they apply to SharePoint Online? –  finisterre Nov 16 '12 at 15:36
You can do the xslt transformation only. –  Hugh Wood Nov 17 '12 at 13:56
Thanks Hugh. I will look into that solution. –  finisterre Nov 18 '12 at 17:43

Your Answer


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.