Forum Moderators: open
Thanks, Mike
btw here is what I use for 301's
<?php
// redirect
if ($SERVER_NAME == "www.mysite.com")
{
header("HTTP/1.1 301 Moved Permanently");
header("Location: [mynewsite.com");...]
exit();
}
?>
My question even in this case does Google really see the page it is trying to index has moved or does it just get redirected to the good page?
does Google really see the page it is trying to index has moved or does it just get redirected to the good page?
In my experience Freshbot will ignore the 301 and not even retrieve the new page. But Deepbot will drop the old page and replace it with the new url.
Just make sure it's a 301, not a 302. With a 302, I think it'll just get the new content and not replace the url.
The requested resource is no longer available at the server and no forwarding address is known. This condition SHOULD be considered permanent. Clients with link editing capabilities SHOULD delete references to the Request-URI after user approval. If the server does not know, or has no facility to determine, whether or not the condition is permanent, the status code 404 (Not Found) SHOULD be used instead. This response is cachable unless indicated otherwise.The 410 response is primarily intended to assist the task of web maintenance by notifying the recipient that the resource is intentionally unavailable and that the server owners desire that remote links to that resource be removed. Such an event is common for limited-time, promotional services and for resources belonging to individuals no longer working at the server's site. It is not necessary to mark all permanently unavailable resources as "gone" or to keep the mark for any length of time -- that is left to the discretion of the server owner.