User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /pdfs/ # Block the /pdfs/directory. Disallow: *.pdf$ # Block pdf files from all bots. Albeit non-standard, it works for major search engines. Disallow: /wp-content/uploads/ninja-forms/