Assuming my phplinks directory is findable on say google, will the posted links then be findable also? Forgive the dumb question but this is my first time using a sql database.
thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
we have to kill the session id, then google will spider the sites! i think we dont need it, or what?
perhaps anyone (the programmer?) have an idea how to do this?
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-12-10
hy,
and another idea for spider/searchengines:
at now it tooks the number of the categorie in the explorer and the url loks like that: http://www.web-katalog.com/index.php?PHPSESSID=4107aa135743b482ad4a0fb916b35ae6&PID=23
it looks better for the spider like that: http://www.web-katalog.com/index.php?PHPSESSID=4107aa135743b482ad4a0fb916b35ae6&PID=Internet & Kommunikation
so what it needs is, that the script read out the name from the categorie, not the number.
if someone got an idea for a solution, please let me know :)
also for some new themes, it looks for that noone is working on that project. i will be nice if u like to show my how u design ur phplinks catalog. a mail to me:
info@spezi-hosting.de
and sorry about my stupid english, shool is a long time ago..
regards
slicks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
guess it isnt a good idea to cut off the session id, cause this could make trouble to your databases or -better saying- your customers searching for whatever (two customers who have a search at the very same time need different session ids, otherwise the database would get in trouble ;(
you like your website be indicated by spiders (goolebot and others)?
heres the solution:
1. open your index.php
2. uncomment the line "session_start();"
3. copy & paste the following code into your index.php (preferably just between
"include("include/session.php");" and
$language = $gl["Language"];
here comes the code to paste:
*******************************
// added to make site readable for spiders
//session_start above uncommented
if (eregi("googlebot",getenv("HTTP_USER_AGENT")) || eregi("ZyBorg",getenv("HTTP_USER_AGENT")) || eregi("WebCrawler",getenv("HTTP_USER_AGENT")) || eregi("ia_archiver",getenv("HTTP_USER_AGENT")) || eregi("Firefly",getenv("HTTP_USER_AGENT")) || eregi("FAST-WebCrawler",getenv("HTTP_USER_AGENT")) || eregi("TurnitinBot",getenv("HTTP_USER_AGENT")) || eregi("LinkWalker",getenv("HTTP_USER_AGENT")) || eregi("lachesis",getenv("HTTP_USER_AGENT"))) {
you can, of course, add as many spiders you want.
guess you should have a look in your server logfiles to get to know, which spiders are interesting for you (just depending on your site content and the country youre in :)
have fun
LadyLuck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-06-28
LadyLuck,
What do you mean in #2 when you say, "uncomment the line "session_start()"
Specifically, what does "uncomment" mean?
Thanks
Lee
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all
Assuming my phplinks directory is findable on say google, will the posted links then be findable also? Forgive the dumb question but this is my first time using a sql database.
thx
My sites been running for a couple of months now and no, it hasn't been spidered.
we have to kill the session id, then google will spider the sites! i think we dont need it, or what?
perhaps anyone (the programmer?) have an idea how to do this?
thanks
hy,
and another idea for spider/searchengines:
at now it tooks the number of the categorie in the explorer and the url loks like that:
http://www.web-katalog.com/index.php?PHPSESSID=4107aa135743b482ad4a0fb916b35ae6&PID=23
it looks better for the spider like that:
http://www.web-katalog.com/index.php?PHPSESSID=4107aa135743b482ad4a0fb916b35ae6&PID=Internet & Kommunikation
so what it needs is, that the script read out the name from the categorie, not the number.
if someone got an idea for a solution, please let me know :)
also for some new themes, it looks for that noone is working on that project. i will be nice if u like to show my how u design ur phplinks catalog. a mail to me:
info@spezi-hosting.de
and sorry about my stupid english, shool is a long time ago..
regards
slicks
hi folks,
guess it isnt a good idea to cut off the session id, cause this could make trouble to your databases or -better saying- your customers searching for whatever (two customers who have a search at the very same time need different session ids, otherwise the database would get in trouble ;(
you like your website be indicated by spiders (goolebot and others)?
heres the solution:
1. open your index.php
2. uncomment the line "session_start();"
3. copy & paste the following code into your index.php (preferably just between
"include("include/session.php");" and
$language = $gl["Language"];
here comes the code to paste:
*******************************
// added to make site readable for spiders
//session_start above uncommented
if (eregi("googlebot",getenv("HTTP_USER_AGENT")) || eregi("ZyBorg",getenv("HTTP_USER_AGENT")) || eregi("WebCrawler",getenv("HTTP_USER_AGENT")) || eregi("ia_archiver",getenv("HTTP_USER_AGENT")) || eregi("Firefly",getenv("HTTP_USER_AGENT")) || eregi("FAST-WebCrawler",getenv("HTTP_USER_AGENT")) || eregi("TurnitinBot",getenv("HTTP_USER_AGENT")) || eregi("LinkWalker",getenv("HTTP_USER_AGENT")) || eregi("lachesis",getenv("HTTP_USER_AGENT"))) {
} else {
session_start();
}
*******************************
you can, of course, add as many spiders you want.
guess you should have a look in your server logfiles to get to know, which spiders are interesting for you (just depending on your site content and the country youre in :)
have fun
LadyLuck
LadyLuck,
What do you mean in #2 when you say, "uncomment the line "session_start()"
Specifically, what does "uncomment" mean?
Thanks
Lee
sorry for that late reply ;(
just delete that line, thats all