Seite 1 von 1

sitemap 404/200 problem

Verfasst: 23.07.2006, 11:45
von Bartenbach
Hi, wollte gerade mal Google Sitmaps testen. Bei der Verivizyrung sagt google das:

Verification status: NOT VERIFIED
We've detected that your 404 (file not found) error page returns a status of 302 in the header.


kenn mich da nicht aus - was heißt das - was kann ich dagegen machen?

vielen dank bartenbach

Verfasst:
von
SEO Consulting bei ABAKUS Internet Marketing
Erfahrung seit 2002
  • persönliche Betreuung
  • individuelle Beratung
  • kompetente Umsetzung

Jetzt anfragen: 0511 / 300325-0.


Verfasst: 23.07.2006, 11:48
von Indigo
Wie hast du denn deine "ErrorDocument" in der .htaccess definiert ?

Verfasst: 23.07.2006, 12:17
von Bartenbach
Hi,
ErrorDocument 404 https://www. xy.com/404.htm
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) https://www.%{HTTP_HOST}/$1 [R=301]

thx

Verfasst: 23.07.2006, 12:32
von Bartenbach
nachtrag

der 301 fehler kommt wenn ich über metatag veriviziere - wenn icht mit der html versuche btingt google
Verification status: NOT VERIFIED
Last attempt Jul 23, 2006: We've detected that your 404 (file not found) error page returns a status of 200 in the header
so nochmal versucht mit meta und...
We've detected that your 404 (file not found) error page returns a status of 200 in the header.

ahhhhhhhhhh :bad-words:

Verfasst: 23.07.2006, 14:25
von jelem
...interessiert mich auch brennend, hab nämlich die selbe Meldung.
Überprüft mit "html Datei hochladen".
Any help?

Verfasst: 23.07.2006, 14:43
von oldInternetUser
Bartenbach hat geschrieben:
ErrorDocument 404 https://www. xy.com/404.htm
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) https://www.%{HTTP_HOST}/$1 [R=301]
Ich habe zwar keinen Apache-Webserver.

Aber warum ist oben die Url mit https://www.xy.com/ angegeben? Da genügt doch ein relativer Verweis.

Ein winziger Blick in die Apache-Dokumentation https://httpsd.apache.org/docs/2.0/mod/ ... ordocument lehrt:
Note that when you specify an ErrorDocument that points to a remote URL (ie. anything with a method such as http in front of it), Apache will send a redirect to the client to tell it where to find the document, even if the document ends up being on the same server. This has several implications, the most important being that the client will not receive the original error status code, but instead will receive a redirect status code. This in turn can confuse web robots and other clients which try to determine if a URL is valid using the status code.
google kann also den Originalstatus gar nicht sehen.

Verfasst: 23.07.2006, 15:11
von Bartenbach
Ha, genau das wars - vielen dank ;)

Verfasst: 23.07.2006, 19:26
von Indigo
Genau das hatte ich mir auch gedacht.