Possible to setup If when search engine crawler?
Posted: Mon Mar 21, 2011 4:22 pm
Hey Guys!
I've been working on some sites in PHP but am still fairly new.
I was wondering if it's possible to setup some type of IF statement if the visitor is a crawler?
For example if I had a counter on my side that increments an entry into the database for every visitor, I dont mind if someone gets to the site from a search engine, but wouldn't want a search engine crawling my site to increment the counter.
Any ideas?
This is something I'm doing from scratch(trying anyways).
I've been working on some sites in PHP but am still fairly new.
I was wondering if it's possible to setup some type of IF statement if the visitor is a crawler?
For example if I had a counter on my side that increments an entry into the database for every visitor, I dont mind if someone gets to the site from a search engine, but wouldn't want a search engine crawling my site to increment the counter.
Any ideas?
This is something I'm doing from scratch(trying anyways).