Mobile app version of vmapp.org
Login or Join
Berumen354

: How do I exclude PDF file from a Google site search? I want to display of the indexed file from a particular section of my website. So I type this into the address bar: https://www.google.com/search?safe=off&q=site:e

@Berumen354

Posted in: #GoogleSearch #Search

I want to display of the indexed file from a particular section of my website.

So I type this into the address bar:
www.google.com/search?safe=off&q=site:example.com%2Fsubfolder%2F

I also want to exclude the PDF files that have been indexed. How do I change the URL I am using so that the results never include PDF files?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Berumen354

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL925

Using the inurl operator for Google should do the trick. Assuming your PDF files all have the .pdf extension, adding -inurl:pdf to your search will exclude those URLs.
www.google.com/search?safe=off&q=site:example.com%2Fsubfolder%2F+-inurl%3Apdf

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme