I am new to this forum, I hope people can help me here.
I have a website with family trees, with over 1 million names (with their own page). It always was on Google's first page, but dropped a lot after the panda update. I have already changed a lot, determined to beat it .
I saw in Google webmster that it found a lot of soft 404 errors on my site (in which google says: the page doesn't exist and the server doesn't return a 404-error). The urls giving this error are often pages of names which are deleted from the family trees. So the page itself does exist (for example person.php), but the person itself is deleted (person.php?pid=34 -> person 34 was deleted) so there is no information on the page). So I put this code on the page:
if($name == "")
{
Header( "HTTP/1.1 404");
Header( "Location: ../../main.php?pagina=404");
exit;
}
I've read that putting a redirect in .htaccess is more common, but because I am not the one deleting the names, I think this is the more logical place for me, because putting a 404 error on a deleted name is automated.
I thought this was the answer, because when I click on the link I can see my own 404-page. But Google still gives the soft-404 error, so he doesn't see it as a proper 404?
If I put the link on the page 'fetch as google-bot' I get this:
HTTP/1.1 302 Found Date: Sun, 15 Jul 2012 13:34:26 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Set-Cookie: PHPSESSID=9mv70a1ugb585r5i4gt5t0jcf2; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Location: ../../main.php?pagina=404 Content-Length: 40 Connection: close Content-Type: text/html <!-- Er wordt een verbinding gemaakt -->
What do I have to change for Google not to put these error in the list? Any help would be greatly appreciated.
Margaret








