The 4xx class of status code is intended for cases in which the client seems to have erred. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. These status codes are applicable to any request method. User agents SHOULD display any included entity to the user.
Und wer haelt sich mal wieder nicht dran? Der IE, wie immer
Das stimmt nicht. Soweit ich weiß zeigt der Internet Explorer die Fehlerseite nur an, wenn sie größer als 512 Byte ist. Und das ist ja gar nicht mal so dämlich.
Jepp, der Christophe hat vollkommen recht, ich nutze das auf einigen Seiten mit oft wechselnden URLs gerne um "vernünftige" Informationen nachzuschieben.
404er mit Weiterleitung kommen (auch bei mir) meist nicht gut an, sprich der Besucher ist weg. So kann ich ihm evtl. eine Alternative anbieten, bzw. ein Suchformular oder was auch immer.
header( "HTTP/1.1 200 OK");
da is wurst was du vorher rauschickst.
Unterhalte Dich mit anderen im SEO & ADSENSE IRC CHAT! /server irc.german-elite.net -j #SEO
_________________ theonlybushilike.com!
_________________
"There are three kinds of lies: lies, damned lies, and statistics." — Benjamin Disraeli (1804-1881), British politician
?? Da hast wohl ebbes nich verstanden.
Es ging drum ob man HTTP 404er noch mit zusaetzlichem Info-Text (nicht im Header, sondern im Content Bereich) ausstatten kann. Und ja, es geht, fuer den IE muss man allerdings eine Mindestanzahl an Zeichen im Content haben, sonst sieht man nur die Standard-404-IE-Seite.
Unterhalte Dich mit anderen im SEO & ADSENSE IRC CHAT! /server irc.german-elite.net -j #SEO
_________________ theonlybushilike.com!
_________________
"There are three kinds of lies: lies, damned lies, and statistics." — Benjamin Disraeli (1804-1881), British politician