Page is a not externally linkable
Zaaz_Guru - 1:17 pm on Jul 25, 2007 (gmt 0)
I have been trying to work with a php based page where it uses user agent detection with a php if else statement. ----------------------------------------------------------- ----------------------------------------------------------- If the page is detected by a SE then the text variation displays. If not then the flash content is displayed. I am still trying to figure out if the SE's will look at it as spamming or cloaking. If anyones has any experience with this please let me know!
I have been working with Macromedia Flash Search Engine SDK and it seems to work very well.
if(userAgent.ToLower.IndexOf("googlebot")>1 ¦¦
userAgent.ToLower.IndexOf("msnbot") > 1 ¦¦
userAgent.ToLower.IndexOf("slurp") > 1 ¦¦
userAgent.ToLower.IndexOf("ask jeeves/teoma") > 1)
{
// Insert code for Html layer here.
}
else
{
// Insert current code for flash layer here.
}