Two questions
-
First I am wondering if there is a way to easily trim the trailing slash on a page hit url? I have been looking for when exactly you store the page hit in the database so I could look for a trailing slash and trim it. Not super nessecary but would make the onscreen reports on top hits look better for me. It could be a redirect from my pretty permalinks doing the slash hits too.
My other question is on Daily Average Page Views. (slim_p4_01) For some reason MAX(ts1.count) is returning nothing which makes the chart go to 15000 possible. Programatically it looks correct and AVG(ts1.count) works fine. Fo now I jsut hard coded in ’75’ insread of MAX(ts1.count) so I can see the chart better.
Anyway, neither is a big deal and probably something I have wonky in my code elsewhere. But if something strikes a chord please let me know.
Thanks,
John
- The topic ‘Two questions’ is closed to new replies.