How do I exclude PDF file from a Google site search?

How do I exclude PDF file from a Google site search? - Google Search Console is a free application that allows you to identify, troubleshoot, and resolve any issues that Google may encounter as it crawls and attempts to index your website in search results. If you’re not the most technical person in the world, some of the errors you’re likely to encounter there may leave you scratching your head. We wanted to make it a bit easier, so we put together this handy set of tips about google-search, search, , to guide you along the way. Read the discuss below, we share some tips to fix the issue about How do I exclude PDF file from a Google site search?.Problem :


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: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?


Solution :

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.



https://www.google.com/search?safe=off&q=site:example.com%2Fsubfolder%2F+-inurl%3Apdf

If the issue about google-search, search, , is resolved, there’s a good chance that your content will get indexed and you’ll start to show up in Google search results. This means a greater chance to drive organic search traffic to your site.

Comments

Popular posts from this blog

Years after news site changed name, Google is appending the old name to search titles and news stories

Is it possible to outrank Google for a search term on their own search engine?

Load Wikipedia sourced biographies via Ajax or render it with the rest of the page as part of the initial request?