I’m trying to get some pdf URLs out of the index

We are am using Nginx, we added the following header response:

location ~* .( doc | pdf )$ add_header X-Robots-Tag “noindex , noarchive , nosnippet”;

4, 5 weeks after adding and the pdf URLs are still indexed. Can anyone advise on this?

submitted by / u/ Rysk1 000 to r/ SEO
[ link ] [ commentaries ]

Read more: