Sections
     
     
WWWCoder.com Resource Directory

Check for a Spider and Redirect
9/19/2004 9:26:29 PM

Code snip will check for a spider bot or crawler and redirect the bot to another content page.


Dim Spidercheck
Spidercheck = Request.ServerVariables("HTTP_USER_AGENT")
If (Instr(LCase(Spidercheck), "bot") <> 0) OR (Instr(LCase(Spidercheck), "crawler") <> 0) Then
Response.Redirect "/main/Default.aspx"
Else
'user redirect to another page.
End If


Page Options:
format for printing  Format for Printer
email article  Email Page
add to your favorites   Add to Favorites
How would you rate the quality of this content?
Poor - - Excellent
Comments?
Overall Rating:
Comments Left:
Left on 5/11/2007 4:03:27 AM by Anonymous
Comments:
     
     

 

 

     
     

 


 


Digg This
 


DotNetNuke Platinum Benefactor

 


 


Digg This
 


DotNetNuke Platinum Benefactor

     
     

Other family network sites: santry.com - katieandkarleigh.com

Powered by 

 

     
Copyright 20010 - Santry Technology Solutions, Box 172, Girard, PA 16417, (814) 774-0970
Privacy Statement | Terms Of Use