![]() |
how to change user-agent ?
is it possible to create user-agent modification ?
i want that my phpdig present as something like 'my.domain.tld search engine' and phpdig spider search on robots.txt not for phpdig but for 'my.domain.tld' |
User-agent is hard-coded in: admin/robot_functions.php
Line 452 PHP Code:
Line 549 ff: PHP Code:
|
I found the user agent defined in multiple places.
In admin/spider.php on line (approx.) 157 In libs/phpdig_functions on lines (approx.) 315, 384, 477, and 620 It would be nice if the user agent could be set from the config file as well as the URI for the robot information page. |
Hi. The GNU/GPL license, Version 2, does not require you to keep the PhpDig User-Agent link in the user agent, just reference in the package itself must stay for redistribution, but personally it would be nice if the user agent and link remained. ;)
|
hi, when i spider my site awstats tell me "Unknown robot (identified by 'robot')"
have someone an idea where can i chance this in the script (robot_functions and spider have the correct user_agent) when phpdig find an site awstats show the referrer "links from other websites (no search engine)" |
Hi. This is not a PhpDig specific issue. Rather, AWStats does not recognize PhpDig, like it would Google, other than to say it is an "Unknown robot (identified by 'robot')" because 'robot' is part of the user-agent for PhpDig. Same goes for the "links from other websites (no search engine)" message. If you want AWStats to show something else, you would need to edit the AWStats code.
|
hi, awstats known some more bots/crawler.
from my awstats: Googlebot (Google) MSNBot Alexa (IA Archiver) WISENutbot (Looksmart) Fast-Webcrawler (AllTheWeb) Inktomi Slurp IBM_Planetwide SurveyBot Jeeves Voila LinkWalker MSIECrawler it is maybe that all stats-scripts can read the ident from phpdig? |
Hi. PhpDig is not currently part of your AWStats detection capabilities so you would need to edit your AWStats code.
# AWSTATS ROBOTS DATABASE #------------------------------------------------------- # If you want to add robots to extend AWStats database detection capabilities, # you must add an entry in RobotsSearchIDOrder_listx and RobotsHashIDLib. #------------------------------------------------------- # AWSTATS SEARCH ENGINES DATABASE #------------------------------------------------------- # If you want to add a Search Engine to extend AWStats database detection capabilities, # you must add an entry in SearchEnginesSearchIDOrder and in SearchEnginesHashIDLib. # An entry if known in SearchEnginesKnownUrl is also welcome. #------------------------------------------------------- |
ah ;)
now i understand thx |
Am I understanding this correctly?
Hi,
Quote:
|
Hi. Yes, check the top of the files in the AWStats library directory for more info. Also, there is an AWStats support form here with links to AWStats FAQ and documentation.
|
Thank you Charter...
Thanks Again
|
All times are GMT -8. The time now is 01:56 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.