Zum Inhalt springen
regensbot
DEV-IDX-03Sollte3 von 13 in IDX

Send robots rules for PDFs, images and other non-HTML files in the X-Robots-Tag header

Der Anforderungstext steht im englischen Original.

Stufe
Sollte

Empfohlen: Lassen Sie sie nur aus einem Grund weg, den Sie benennen können.

Dokumentation

Dokumentiert

Mindestens ein zitiertes Google-Dokument sagt es aus oder stützt es.

Abdeckung

Automatisch

Entschieden aus einer URL.

Warum es zählt

Files without an HTML head can carry robots rules only in the HTTP response. X-Robots-Tag accepts the same rules as the meta tag and, like the tag, is seen only when the URL is crawled.

So setzen Sie es um

Add X-Robots-Tag in the web server or CDN for the file types or folders that should stay out of Search (internal PDFs, exports, private images), and do not also disallow those URLs in robots.txt. Use the user-agent form (X-Robots-Tag: googlebot: noindex) only for crawler-specific rules.

So prüfen Sie es

curl -I on a sample file shows the X-Robots-Tag header; URL Inspection of the file reports it excluded by noindex.

So deckt Regensbot sie ab

AutomatischBrauchtEine URL

Entschieden aus einer URL.

Ein Audit liest die Antwort, die Header, das HTML, robots.txt, die Sitemaps und die Structured Data, und der Befund zeigt, was es gesehen hat.

So funktionieren die UrteileWas Sie verbinden

Quellen

Google-Dokumente02

  1. 01Robots meta tag, data-nosnippet, and X-Robots-Tag specificationsGoogle Search Central (öffnet in einem neuen Tab)
  2. 02Remove images hosted on your site from search resultsGoogle Search Central (öffnet in einem neuen Tab)

Aussagen in der Wissensbasis03

  1. D2-C069QuelleControlling indexingGoogles Dokumentation
  2. D2-C529QuelleUsing images to your advantage and Engaging Search users with videosGoogles Dokumentation
  3. D2-C095QuelleControlling indexingGoogles Dokumentation

Die Aussage-IDs verweisen auf die Wissensbasis zu Search Central Live 2026. Die Wissensbasis (öffnet in einem neuen Tab)

Quelle
Die Aussage ist das zitierte Dokument selbst.

Audit

Prüfen Sie es auf Ihrer Website.

Ein Audit prüft eine URL gegen alle 138 Anforderungen und liefert zu jeder einen Befund, mit Quelle. Eine URL entscheidet 66; bei allen übrigen sagt der Befund, welche Quelle Sie verbinden.