PDA

View Full Version : awstats - external page links wrong


coan.net
11-9-03, 08:33 PM
In the "Links from an external page (other web sites except search engines)" list, many of the links are from within my own website. For example:

My Website: www.mysite.com

Links in the list:

http://www.mysite.com/page1.html
http://www.mysite.com
http://www.mysite.com/page2.html

Anyway, I looked through the config file and I can't figure out how to get this corrected. Any help would be appricated.

coan.net
11-11-03, 11:26 AM
... so does anyone know how to fix this?

transgenik
11-11-03, 11:37 AM
In your .conf file, take off the # in front of the line "SiteDomain" (line number 142 in my case) and add your URL there:

SiteDomain="Mysite.com"

If you have multiple domain names, also check out the block just below, about hostaliases.

coan.net
11-11-03, 01:12 PM
That may have been the problem.

I did not have a # in front, but for my domain name, I had "http://www.mysite.com" - which I'll take off the http:// part