Closed
Bug 521287
Opened 16 years ago
Closed 16 years ago
Redirect getpersonas.com designer urls
Categories
(Websites Graveyard :: getpersonas.com, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
1.9
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.
| Assignee | ||
Comment 1•16 years ago
|
||
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
Comment 2•16 years ago
|
||
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 | ||
Comment 3•16 years ago
|
||
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
Comment 4•16 years ago
|
||
Succinct test case, please? Thanks!
Comment 5•16 years ago
|
||
Yeah, I want to get all urls into a .htaccess file so we just need a svn up for url changes.
Comment 6•16 years ago
|
||
(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
Comment 7•16 years ago
|
||
(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
| Assignee | ||
Comment 8•16 years ago
|
||
Fixed the stage Redirect too, though the harry_potter designer doesn't exist on stage.
Updated•13 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•