Cindy Reeves wrote:

I have a website, www.mysite.com. I have set up a unique URL for a specialty
directory listing, www.mysite.com/special. I edited my .htaccess file to
automatically redirect this unique URL to my generic home page. Now I want
to track how many people clicked through on the unique URL. Is this
possible?  If so, how?

We actually have several unique URL's we've given to that site, so I can't
just go by the total number of referrals.
analog does not count hits that resulted in a 301 or 302 response as successful hits.

You can either preprocess the server logs replacing the 301 or 302 status codes with 200 status codes (in Perl, s!(HTTP/1\..") 30[12]!$1 200!;) but you will be overcounting traffic to your site because you count the redirected hit twice now.

Alternatively you can append a suffix at the target URL in the redirect rule, and count the specific page views, like www.example.com/?special.

--
Klaus Johannes Rusch
[EMAIL PROTECTED]
http://www.atmedia.net/KlausRusch/

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to