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
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
Added a 301 redirect for /sp/ to /streampage/ in the rewrite rules.