Closed Bug 521287 Opened 16 years ago Closed 16 years ago

Redirect getpersonas.com designer urls

Categories

(Websites Graveyard :: getpersonas.com, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sgupta, Assigned: zandr)

Details

Through past promotions, we have been pushing clean links such as getpersonas.com/harrypotter. Since the last push, this link is now a 404. The proper link is http://www.getpersonas.com/en-US/gallery/Designer/harry_potter. Can we redirect to the right link? This would also solve the problem for partners that want to advertise a clean link on their sites.
Target Milestone: --- → 1.9
Right, we used to have this: RewriteRule ^/harrypotter /gallery/designer/harry_potter [PT,L] In fact, we still do, but localization broke it. I don't know how localization works, so I don't the right way to fix this. Handing off to rdoherty, assign it back to me with the right conf changes if necessary.
Assignee: zandr → rdoherty
Due to l10n we can't have a rewrite rule to a non-l10n url. So it should be a redirect from: /harrypotter to /gallery/Designer/harry_potter Then our locale detection code can detect the language and redirect to /locale/gallery/designer/harry_potter If we are going to have more 'clean' urls in the future we should simply allow users to create their own base url. Or I think we can redirect any urls like: getpersonas.com/foo to getpersonas.com/locale/gallery/designer/foo
OS: Mac OS X → All
Assignee: rdoherty → zandr
So there's a RedirectMatch in the apache conf for harrypotter now. With the current app, we need to edit the apache conf in puppet and push it to the webheads for each 'designer url' Obviously, this won't scale. :)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Succinct test case, please? Thanks!
Yeah, I want to get all urls into a .htaccess file so we just need a svn up for url changes.
(In reply to comment #4) > Succinct test case, please? Thanks! Load: http://getpersonas.com/harrypotter Should redirect to http://www.getpersonas.com/en-US/gallery/designer/harry_potter
(In reply to comment #6) > (In reply to comment #4) > > Succinct test case, please? Thanks! > > Load: http://getpersonas.com/harrypotter > Should redirect to > http://www.getpersonas.com/en-US/gallery/designer/harry_potter Oh, this is a prod fix :-) (I was testing http://sm-personas01.mozilla.org/harrypotter, which is a 404.) Thanks; Verified FIXED.
Status: RESOLVED → VERIFIED
Fixed the stage Redirect too, though the harry_potter designer doesn't exist on stage.
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.