Go to our software section and see the best marketing software. See which marketing and submission software all the marketers are using.
 

Tracking Google and Googlebot Using PHP

 

No one alive can deny the force of Google and how powerful it has become in the Web design and Web hosting business. Many people work for hours and hours, days and days to make sure the Web site they have is ready for Google and it's Googlebot whenever it might come for a visit.

The problem most folks run into though is how do you know it is there? Some forum and blogging scripts come with better ways to track bots as they comb through your pages. What about everyone else though? Well this is where these scripts come in. All you need is to be able to parse PHP through your Web site and you too can track the Googlebot even better.

I am not totally sure who wrote these PHP scripts up first, but I have not seen it talked about many places at all. Hopefully this will a handy tool for you to use.

Easy Version
With this version of the script you need to replace the "yourdomainname.com" with your own domain name and replace "you" with your E-mail address.

<?
if(eregi("googlebot",$HTTP_USER_AGENT))
{
mail("you", "Googlebot detected on yourdomainname.com", "Google has crawled yourdomainname.com");
}
?>

Expert Version

<?
if(eregi("googlebot",$HTTP_USER_AGENT))
{
if ($QUERY_STRING != "")
{$url = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else
{$url = "http://".$SERVER_NAME.$PHP_SELF;}
$today = date("F j, Y, g:i a");
mail("you", "Googlebot detected on http://$SERVER_NAME", "$today - Google crawled $url");
}
?>

Hopefully this will be of some use to people working on their Web sites who want to keep a better eye on where the Googlebot is looking at.

Visit Authors Website
www.mitchkeeler.com

  Work At Home Articles and How To's
1 Tips for Improving Your Google Page Rank
1 Domain Appraisals - Warning!
1 Active vs. Passive Website Traffic Generation
2 10 Secrets of the Super Affiliate Mindset
3 Balancing Home & Work: The Challenge of the Home-Based Business
3 Dealing With Business Slowdowns
4 Developing Multiple Streams of Income for Your Home-Based Business
5 Five Essential Questions To Answer Before Creating Your Next Website
6 Five Steps to An Effective Business Plan
7 The Google Pagerank Algorithm and How It Works
8 Home-Based Business Safety and Security Issues
9 How To NOT Go Into Big Debt While Building Your Online Business!
10 How Long Should You Hang Onto Your Home-Based Business Dream?
11 How To Avoid Work-at-Home Scams and What To Do When You're A Victim
12 How to Drive More Targeted Traffic and Sales than Mini-Sites and Gateway-Pages Combined - Anytime
How To Profit From Your Home Business Blog
How To Start & Operate Your Own Profitable Import/Export Business At Home
How To Start & Operate Your Own Profitable Import/Export Business At Home
How To Choose Keywords For Maximum SEO Effectiveness
Identifying your Niche
The "Keyword Relevance" Myth
How to Protect Yourself & Your Business
Learn How To Measure The Effectiveness Of Your Online Marketing Campaigns
Legalities & Tax Advantages In A Home Business
Loyalty Programs May Keep Customers Coming Back – But First You’ve Got To Earn Their Trust
MLM Success Requires Leadership and Professionalism
More About Web Hosting Differences - 1 Of 3
More About Web Hosting Differences - 2 Of 3
More About Web Hosting Differences - 3 Of 3
Working Your Way Out of a Home-Based Business Slump
3 Proven Online Ventures
Starting Your Home Based Business on a Shoestring Budget
Use Collaborative Approach - And Get Leveraged Earnings
What Are Usage Statistics?
Why Work at Home Businesses Fail
Do-It-Yourself Web Design for Home-Based Businesses
Working at Home Doesn't Have to Mean Feeling Alone
See Our Work At Home Recommended Sites
What is Disk Space and Bandwidth?
Tracking Google and Googlebot Using PHP
Search Engine SEO Internal Link Strategy

 

 
Buy Targeted Traffic Free eBooks - Instant Download
Get Quality Targeted Traffic Here
free ezine registration

Designed By JungleWorks Inc Network © JungleWorks Inc 2003 - 2005

 

Auto Link Exchange Resources