New Intern
New Intern
CDCloudflare Developers
Created by New Intern on 12/26/2023 in #pages-help
custom headers for my specific file type.
Hello everyone I want to set custom headers for my PDF files. I created "_headers " file in my public html folder & I added this: *.pdf X-Robots-Tag: noindex for some reason this noindex header is also being added to html files. can someone please help me, what am I doing wrong? PS in the mean time, I have created a robots.txt with this content User-agent: * Disallow: /*.pdf my PDFs are not in any specific folder so cant set rule for that, I will need to set it for complete website
1 replies