Закрываем от индексации pdf

Для Apache

<IfModule mod_headers.c>
  <FilesMatch "\.pdf$">
    Header set X-Robots-Tag "noindex, nofollow, nosnippet"
  </FilesMatch>
</IfModule>

Для Nginx
location ~* \.pdf$ {
  add_header X-Robots-Tag "noindex, nofollow, nosnippet";
}