Ver Mensaje Individual
  #6 (permalink)  
Antiguo 29/12/2010, 11:46
Avatar de yubertvikel
yubertvikel
Colaborador
 
Fecha de Ingreso: junio-2009
Ubicación: Venezuela
Mensajes: 928
Antigüedad: 14 años, 10 meses
Puntos: 111
Respuesta: Consulta que me tiene loco...

msnbot/2.0b (+http://search.msn.com/msnbot.htm)

Mozilla/5.0 (compatible; Yahoo! Slurp/3.0; http://help.yahoo.com/help/us/ysearch/slurp)

Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)

Recuerda que google no es el único buscador.

if (strpos( $_SERVER['HTTP_USER_AGENT'], 'Googlebot' ) !== false || strpos( $_SERVER['HTTP_USER_AGENT'], 'Mediapartners-Google' ) !== false || strpos( $_SERVER['HTTP_USER_AGENT'], 'msnbot' ) !== false || strpos( $_SERVER['HTTP_USER_AGENT'], 'Yahoo' ) !== false || strpos( $_SERVER['HTTP_USER_AGENT'], 'bingbot' ) !== false){
// Permitimos el acceso
}else{
// Revisar IP y geolocalización de la misma para mostrar o no contenidos
}
__________________
Buscas posicionamiento en Google con Linneo.net encuentras soluciones SEO, SEM y de Marketing para empresas en Santiago