Search the FirstSpirit Knowledge Base
we don't want specific Excelfiles, that are linked on our website, to be shown in searchengines.
Does anyone know a way to set a X-Header in an Excelfile so this isn't the case anymore?
Thank you in advance!
Google supports the X-Robots-Tag header. I am not sure if other search engines honor this as well.
Another solution would be adding the files to the robots.txt file.
If you are using the X-Robots tag header, something like this might help:To use the X-Robots tag on an Apache server, add the following code to your website's .htaccess or httpd.config file.
<Files ~ ".xlsx$">
Header set X-Robots-Tag "noindex, nofollow"