bwnbwn

msg:4522612 | 5:11 pm on Nov 26, 2012 (gmt 0) |
| I have a number of data only PDFs that users find highly valuable |
| Why are they considered by u low quality when the user finds them of high quality, or are a few of them high but the vast majority are considered low? To add them to a robots.txt file you will need to add the PDF's into a new folder called PDF then the whole folder can be blocked if this is the way you want to go.
|
lucy24

msg:4522619 | 5:35 pm on Nov 26, 2012 (gmt 0) |
Do you want no-crawl or no-index? If no-index, add this simple package to your htaccess or config file, changing the endings as appropriate: <FilesMatch "\.(js|txt|xml)$"> Header set X-Robots-Tag "noindex" </FilesMatch> Also good for preventing them from indexing your robots.txt and sitemap, since you obviously can't block them from crawling those ;)
|
Pjman

msg:4522946 | 4:09 pm on Nov 27, 2012 (gmt 0) |
Great ideas. Thanks. If you block the bot from crawling files via "robot.txt" will G ever count those towards the quality score of your site? I'm just worried about sometime down the line getting hit by Panda if 1/10 of my site is data driven PDFs.
|
tedster

msg:4523096 | 3:46 am on Nov 28, 2012 (gmt 0) |
Google also obeys wild card pattern patching in a robots.txt file, even though that syntax was not part of the original robots.txt standard. This means you can use: User-agent: Googlebot Disallow: /*.pdf$ 1) The asterisk character [*] stands for any number of characters including directory names. 2) The dollar sign character [$] stands for "end of the character string". This approach disallows any pdf file no matter which directory holds it, and also guards against any accidental use of the character string ".pdf" in a file path other than an actual PDF file. | If you block the bot from crawling files via "robot.txt" will G ever count those towards the quality score of your site? |
| If the files are not even crawled, then they cannot be directly evaluated for quality. [edited by: tedster at 3:38 pm (utc) on Nov 29, 2012]
|
Pjman

msg:4523222 | 3:13 pm on Nov 28, 2012 (gmt 0) |
@tedster Thank you! As usual you save the day! We need to have an appreciation day for you.
|
|