Forum Moderators: DixonJones
I have a "www.server.site" that can do all the logging for the hosted site. But the scripts on the server should be called by a browser viewing the hosted site. Usually it is done by calling script through an IMG tag or SCRIPT tag.
Robots as a rule do not care about IMG tags and SCRIPT tags.
I had couple of ideas:
1. ...to have a small link on homepage on the hosted site to that would have a frameset and one frame would be a certain page from the www.server.site. The www.server.site would then have an apache custom log for that page.
2. ...to have a small link on homepage on the hosted site to that would have a meta refresh to a certain page from the www.server.site. The www.server.site would then have an apache custom log for that page.
Regarding the option 1, I have read that just some part of robots follows the frames.
Regarding the option 2, I have read that you can get penalized by SE if meta refresh is less than some 5 seconds. I would need 0 seconds.
Please, has anybody solved this problem with logging the robots?
[[Could not find any ideas from HitBox or any other remote webstats provider. HitBox said they do not log robots at all.]]
The problem with both your ideas is that robots don't have to follow the links in the order you supply them, so both your ideas fail because the robots will find the page on "www.server.site" and they will crawl it.
But after they have found they do not have to go through your site to get to it - that means they could crawl your "logging" page without crawling your main site.
Also a crawler could just decide that they "like" your site but not the site with logging enabled - this would result in them crawling your site but giving you no idea that they were there.
Our of curiousity how have you gotten into this situation? Everything bar the a handful of free hosts should provide you with real logfiles if they are even attempting to be a professional webhosting service so I'd try asking them or looking elsewhere - at the moment most hosting packages are so cheap you might well find a better deal.
- Tony