Redirects und Content Type Header

Redirect Verhalten und XML Content Type Header beeinflussen Feed Zuverlässigkeit.

Geprüft von FeedInspector

Definition

Feed Auslieferung umfasst HTTP Details wie Redirect Ketten, finale URL, Protokoll und Response Content Type.

Warum es wichtig ist

Lange oder instabile Redirects erhöhen Latenz und können blockiert werden. Falsche Content Types führen zu Parser Fehlern.

So prüft FeedInspector

FeedInspector erfasst Redirect Anzahl, HTTPS und prüft tech.contentType gegen XML ähnliche MIME Types.

Häufige Probleme und Fixes

  • Problem: Feed URL leitet über mehrere Hosts weiter.

    Fix: Liefere den Feed über einen stabilen kanonischen Endpoint aus.

  • Problem: Server sendet text/html für Feed XML.

    Fix: Liefere application/rss+xml, application/atom+xml oder application/xml.

Minimales Beispiel

HTTP Antwort Beispiel

HTTP/1.1 301 Moved Permanently
Location: https://example.com/feed.xml

HTTP/1.1 200 OK
Content-Type: application/rss+xml; charset=utf-8

Verwandte Themen