|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Crawler cookie
Do crawler's keep track of cookies on websites by any chance?
Right now a site I am designing has a version that uses flash for various parts and a version that uses only html. When a user first goes to the site they are taken to a landing page where they choose which version they want to use (choice is saved in a cookie). after that the entire site is run off the index.php page, which basically has the following logic: Code:
if (isset ($_COOKIE['site_version']))
{
if ($_COOKIE['site_version'] == 'flash')
{
require_once ("flash_index.php");
}
else
{
require_once ("html_index.php");
}
}
else
{
require_once ("choose.php");
}
so if crawler's do not keep track of cookies they will not be able to get past the choose.php page right? seems the only way around this would be to detect if the visitor is a crawler (using getenv("HTTP_USER_AGENT")), but I have heard that serving up different data for when a crawler visits is a big no-no. does anyone have any suggestions? |
|
#2
|
||||
|
||||
|
Your first question is easy. SE robots do NOT read cookies and any info that's stored in them will never be used by these robots.
As far as what do do about this, judging by the code that you've got set up there, you "should" be alright. The bots will be served with the "choose.php" page, and then they'll have the chance to spider from there. Of course, if every page on your site relies on cookies, you will have some big headaches. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Search Engine Optimization > Crawler cookie |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|