- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ09-05-2023
12:26 AM
X-Header for Excelfiles
Hello everyone,
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!
Sincerely,
Nikolai Lasarzick
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ09-05-2023
01:40 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ09-05-2023
01:47 AM
Hi Nikolai,
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" </Files>
Kind regards,
cube

