PDA

View Full Version : page views



eMEraLdwPn
02-11-2004, 01:17 AM
i'm recoding a part of my site so that instead the url being something like

http://www.lyricallysquared.com/viewartist/Brand%20New

it would be http://www.lyricallysquared.com/viewartist/Brand-New

part of the script says that if they are using the url Brand%20New instead of Brand-New, to redirect them to Brand-New (using header: Location...). would each redirect count as a page view in my stats? or does it only count as the page being viewed if it displays some html content?

Chris
02-11-2004, 06:50 AM
It depends on your stat program. If you're using a log analyzer then yes since a request is made for both pages. This is one reason why I dislike log analyzers.

flyingpylon
02-11-2004, 07:13 AM
I think it depends on how you do the redirect. If it shows up as a redirect in your logs, (HTTP 301 or 302 for example) then some log analyzers will recognize that and won't count it as a page view.

eMEraLdwPn
02-11-2004, 09:05 AM
sorry, i should have mentioned i use awstats & webalizer

anyway, thanks.. i think you're right, and now i finally know why i have so many error codes come up ;-)