X-Header for Excelfiles
Author: dewe1842
Publication Date: 9/5/2023 7:26
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
0
-
Author: Windmüller - 9/5/2023 8:40
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.
0 -
Author: cube - 9/5/2023 8:47
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,
cube0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires