close Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Opened 14 years ago

Closed 14 years ago

#64 closed defect (fixed)

Normalize streampage URLs on load

Reported by: ajanata Owned by: ajanata
Priority: critical Milestone: Rock Band 3 Release
Component: SocialGamer Website Keywords:
Cc:

Description

All streampage URLs need to be normalized to /streampage/lc(username)/ for usage logging reasons. We have hits from each of:

  • /streampage/IBitePrettyHard/
  • /streampage/ibiteprettyhard/
  • /sp/ibiteprettyhard/
  • maybe more, but those are the only 3 in the top 10 URLs from July.

This makes it hard to track aggregate stats as it shows up in those three URLs.

This will probably have to actually happen in the streampage code, before it does very much actual work. I think it's a bit too complicated for the rewrite rules.

Also could normalize the capitalization to what the account name is. That might be better. This would definitely not be possible in rewrite rules.

Aside: we have the same problem with /ajax and /ajax/.

Change History (4)

comment:1 Changed 14 years ago by ajanata

  • Status changed from new to accepted

Added a 301 redirect for /sp/ to /streampage/ in the rewrite rules.

comment:2 Changed 14 years ago by ajanata

  • Milestone changed from August 2010 to Rock Band 3 Release

comment:3 Changed 14 years ago by ajanata

/streampage/user/ is normalized to the username case stored in the database as of r518. Trailing slashes have not been addressed yet.

comment:4 Changed 14 years ago by wwwedit

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [556]) ajanata: Ensure the URI ends with a / for better Analytics. Fixes #64. Not addressing ajax.php issues with this because server-side logs aren't as important now that Analytics is set up.

Note: See TracTickets for help on using tickets.