1
i saw a web page like mine. and googlebot was recording that site. i mean probably he created an account for googlebot. i got googlebots ip. So i just need a code to let googlebot in.
i will create and account for google bot. and the code will check the ip if the ip was right it will give access to googlebot to get in my site.
does it work?
i will create and account for google bot. and the code will check the ip if the ip was right it will give access to googlebot to get in my site.
if (ereg("Googlebot",$HTTP_USER_AGENT) or
ereg("google",strtolower($HTTP_USER_AGENT))) {
// googlebot
} else {
// not googlebot
}
does it work?