Jump to content

Recommended Posts

Posted

I see in my awstats that a bunch of traffic is coming from "www.somemadeupforum.com/forum/showthread.php", but if I click on that link it tells me that I didn't specify a thread. I'm curious to know who's out there talking about me, and they've pushed a decent chunk of traffic my way. Is there a way to see in some logfile somewhere what thread this traffic is coming from? Just curious.

Posted

These are the only options I know of:

 

1) If the traffic is recent, you may be able to see the full referer URL on the "Latest Visitors" page (under "Web/FTP Stats" in CPanel).

 

2) The web server's access log will also contain the full referer URL ("Raw Access Logs" in CPanel).

Posted
These are the only options I know of:

 

1) If the traffic is recent, you may be able to see the full referer URL on the "Latest Visitors" page (under "Web/FTP Stats" in CPanel).

 

2) The web server's access log will also contain the full referer URL ("Raw Access Logs" in CPanel).

 

Hi there,

 

is there no other way? I get quite a few links from forums, and it really inconvenient having to go through the raw logs each time. It seems Awstats truncates parameters of a URL, such as after a question mark. Maybe there is a way to configure Awstats to show those?

 

Regards

 

Dirk

Posted

Welcome to the forums, Dirk! :)

 

is there no other way? I get quite a few links from forums, and it really inconvenient having to go through the raw logs each time. It seems Awstats truncates parameters of a URL, such as after a question mark. Maybe there is a way to configure Awstats to show those?

The "parameters" part of a URL is known as the "query string", and yes, AWStats is not using the query string when reporting referer links.

 

I don't know if this will work or not (I have not personally tested it), but the following is listed as an AWStats configuration directive:

URLReferrerWithQuery

Version : 5.1+

># Keep or remove the query string to the referrer URL in the statistics for
# external referrer pages. This is used to differentiate between the URLs of
# dynamic referrer pages. If set to 1, mypage.html?id=x and mypage.html?id=y
# are counted as two different referrer pages.
# Possible values:
# 0 - Referrer URLs are cleaned from the query string (ie: "/mypage.html")
# 1 - Full URL with query string is used (ie: "/mypage.html?p=x&q=y")
# Default: 0
#
URLReferrerWithQuery=0

You could try adding the above code to your AWStats configuration file, which should be located at tmp/awstats/awstats.your-TCH-domain.conf on the server. Set URLReferrerWithQuery=1, save the .conf file, then set its permissions to 0444 so that it cannot be overwritten with a default .conf file. Wait for the next run of AWStats and see if the referers now show the query string in the URLs.

 

Hope this helps...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...