Computer Geeks

Computer Geeks

Geek Shop

Geek News

Geek Stuff

Science Geek

Computer Gaming

Linux Chat

Building Websites

Computer Forums

Computer Help Forum

Computer Hardware Forum

Computer Software Programs


Go Back   Computer Forums > Geek Stuff
FAQ Community Calendar Today's Posts Search

Geek Stuff General forum for discussing anything geek. If your topic doesn't fit in any of the other forums then post it here.

Computer Geeks
» Active Discussions
Computer Geeks
No Threads to Display.
» Other Websites
- Software Publishing

- Server Hardening
Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2006, 12:41 AM
yetanotherfcw yetanotherfcw is offline
Member
GB Advanced User
 
Join Date: Mar 2006
Posts: 60
Default 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: /
Reply With Quote
  #2  
Old 04-20-2006, 04:27 PM
Soulwatcher's Avatar
Soulwatcher Soulwatcher is offline
Senior Member
GB GEEK
 
Join Date: Feb 2006
Posts: 309
Send a message via MSN to Soulwatcher
Default

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.
Reply With Quote
  #3  
Old 04-21-2006, 10:08 AM
LucnetSolutions's Avatar
LucnetSolutions LucnetSolutions is offline
Member
GB Beginner
 
Join Date: Mar 2006
Posts: 49
Send a message via AIM to LucnetSolutions Send a message via MSN to LucnetSolutions Send a message via Yahoo to LucnetSolutions
Default

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.
__________________
Lucnet Solutions - World Wide Hosting Solutions
Reply With Quote
  #4  
Old 04-21-2006, 07:39 PM
yetanotherfcw yetanotherfcw is offline
Member
GB Advanced User
 
Join Date: Mar 2006
Posts: 60
Default

Quote:
Originally Posted by LucnetSolutions
If you want to dis allow searchs on your site. Use .htaccess.
... how do you do that?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Powered by vBadvanced CMPS v3.2.3

All times are GMT -5. The time now is 12:34 AM.


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