[geeklog-devtalk] portal.php and search engines
Dirk Haun
dirk at haun-online.de
Mon Sep 13 17:11:19 EDT 2004
Matthew,
>Compare google and yahoo searchs for "soquili center"
Hmm, I don't see any portal.php links on Yahoo?
>What was your search phrase for your link problem again?
"Vanessa Peters"
Yahoo probably doesn't have my site, as I haven't seen their spider yet.
>If you exclude portal.php in robots.txt then your site will no longer give
>page ranking points to any of those links. I think you run the risk of
>hurting the target pages rank. I would do that as a last resort.
Good point. In my case, I don't care about the page rank of the linked
sites too much, I was mainly interested in getting the links right.
Let's hope the 301 fixes this. Then we can make that Geeklog's default
status code and leave the robots.txt as an option for when, for example,
you don't want visits by spiders be counted as clicks.
>header('HTTP/1.1 301 Moved Permanently');
>header("Location: $display");
This is pretty much what I'm using at the moment:
header ('HTTP/1.1 301 Moved');
header ('Location: ' . $url);
header ('Connection: close');
Can't remember where I've got the 'Connection: close' from, though ...
>Without the header 301 line google seemed to interpret correctly. I'm
>hoping the 301 will fix yahoo once it gets spidered.
'Location:' without any status code will result in a 302.
>Lastly, I'm using the email I used to subscribe to devtalk so hopefully
>you don't have to approve this message manually. Let me know if you do.
Went through just fine, thanks.
bye, Dirk
--
http://www.haun-online.de/
http://www.handful-of-sparks.de/
More information about the geeklog-devtalk
mailing list