AWS S3 Bucket allows Google to index documents

Viewed 3522

I have PDF documents in AWS S3 buckets that are appearing in Google search results. How can I prevent Google from providing the URL's to these documents in search results?

I have tried to add a robots file in the root of the buckets holding these docs but it is still occurring.

Any help appreciated.

Edit to add the content of robots.txt

User-agent: *
Disallow: /
0 Answers
Related