Hosted .pdf hidden from Google?
- Started
- Last post
- 5 Responses
- ********
Is it possible to host a .pdf on my own site, but prevent Google from finding it?
I don't need anything password protected, but don't want anyone to find it unless I share the link with them.
- fate0
robots.txt
- albums0
robots.txt will work, but as a side note, I can not get google to find a pdf I know is there when searching by file type, file name, or text contained within the file, so your fear should be minimal.
in your robots.txt file you would place this on the next line though.
Disallow: /*.pdf$
- ********0
Thanks guys. There's a $ in there?:
Disallow: /*.pdf$
- detritus0
If there's not a link to a file or folder from your site or any other, then Google will not - cannot - have any idea that it exists.
In fact, where robots.txt's concerned, all that serves to do is inform Google of a file or folder's existence, then ask it to ignore it.
- Unless you use albums' generic filetype disallow rule, i suppose.detritus
- vaxorcist0
1. don't link file/directory from anywhere
2. don't use an "obvious" directory or filename, like "about" , etc...
3. if you really want to be sure,use random #s likeobscure, un-linked directory....
then create a folder with a random number at the end, then a filename with a random number at the end....
mystuff321313128/file342123.pdf