Computer Forums

Computer Forums (http://www.geekboards.com/forums/index.php)
-   Geek Stuff (http://www.geekboards.com/forums/forumdisplay.php?f=1)
-   -   Detecting Googlebot using php (http://www.geekboards.com/forums/showthread.php?t=759)

yetanotherfcw 04-20-2006 12:41 AM

Detecting Googlebot using php
 
q1. How do you detect Googlebot using php?

q2. Also is it always bad to treat Googlebot differently than other bots and visitors?

q3. Also another question about Googlebot. Can the following robots.txt completely reject all visits from Googlebot?

Code:

User-Agent: Googlebot
Disallow: /


Soulwatcher 04-20-2006 04:27 PM

I wouldn't advise stopping google bot from searching your website. 95% of my search engine traffic comes from google. If I were ever banned from google it would really hurt my website.

LucnetSolutions 04-21-2006 10:08 AM

Why don't you want to allow bots on your site? Do you have stuff you don't want them to find?

If you want to dis allow searchs on your site. Use .htaccess.

yetanotherfcw 04-21-2006 07:39 PM

Quote:

Originally Posted by LucnetSolutions
If you want to dis allow searchs on your site. Use .htaccess.

... how do you do that?


All times are GMT -5. The time now is 08:08 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.