Closed Bug 811037 Opened 12 years ago Closed 12 years ago

[Social API] Create a redirect for us to use in our Video

Categories

(www.mozilla.org :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lforrest, Assigned: pmac)

References

Details

(Whiteboard: u=dev c=redirect p=1)

I'd like to create a new redirect: www.mozilla.org/facebookmessenger 

to go to this Facebook page: https://www.facebook.com/about/messenger-for-firefox

Is this possible to create? 

Thanks!
Whiteboard: u=dev c=redirect p=1
Hey Mike -- can you help route this? We'd like to confirm the URL to use in the video, ASAP.
Assignee: nobody → malexis
Laura, we can use that URL no problem, so that shouldn't block adding it to the video while I get this assigned.
Blocks: 811533
Excellent -- then I'll let Rainer know he has the green light to add it in the video. Thanks for checking, and please close once the redirect has been created and QAed.
No longer blocks: 811533
Assignee: malexis → jenbertsch.mozilla
Hey Jen -- Can you help route this? It would be great to have this created by EOD today, or early tomorrow morning. Thanks!
Hi Pmac - Could you please create this redirect?  If you aren't the right person, let me know who to assign it to.  Thx.
Assignee: jenbertsch.mozilla → pmac
Do we care anything about stats for this URL?
Flags: needinfo?(lforrest)
Do we care anything about stats for this URL?
CCing Chris

Chris: I believe we made a decision earlier this year to use mzl.la for all vanity URLs. Can you confirm?
(In reply to Paul McLanahan [:pmac] from comment #7)
> Do we care anything about stats for this URL?

If you do this in the bedrock redirect app, can you make sure it that also redirects and passes long any query strings? i.e. mozilla.org/foo?bar=1 > foo.mozilla.org/bar=1.
(In reply to Chris More [:cmore] from comment #9) 
> If you do this in the bedrock redirect app, can you make sure it that also
> redirects and passes long any query strings? i.e. mozilla.org/foo?bar=1 >
> foo.mozilla.org/bar=1.

I don't believe our redirect helper function does that currently. It could be made to do so. I don't think it matters for this particular redirect as it's intended for people to manually type the url. Perhaps we should capture this in a new bug?
(In reply to Anthony Ricaud (:rik) from comment #8)
> CCing Chris
> 
> Chris: I believe we made a decision earlier this year to use mzl.la for all
> vanity URLs. Can you confirm?

Rik:

If we use pmac/craigcook's bedrock redirect app, I'm fine with doing it in bedrock if mzl.la is not suitable. I would just like to stay away from .htaccess.

Pmac:

Please proceed up with the bedrock redirect app with the URL and redirect proposed in comment 1.
Craig: Can you add this to the redirect app in bedrock and push that out before you leave for the holiday? Pmac is out till next week and the video is being published next week.
Craig's pull request:

https://github.com/mozilla/bedrock/pull/490

Rik: Please, review, merge, and push to production on Thursday as we have a video going out on Monday that has the URL in comment 1.
This has been pushed to production.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Is this live on www.mozilla.org? It doesn't seem to work. https://www.mozilla.org/facebookmessenger redirects to /en-US/facebookmessenger and that 404 errors out.
Commit pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/fe720c2b7dcf1155253f8bc9a46c994d115921cc
Revert "Bug 811037 - redirect facebook messenger vanity URL"

This reverts commit 4c1ce7da365696003d4b1ba40214ddedd3fd3a8f.
So because it is painful to do that in Bedrock right now (code in Python then ask for a /b/ redirect to IT), I switched and did it in .htaccess.

Done in r111056 on trunk, r111057 on stage and r111058 on production.
Flags: needinfo?(lforrest)
You need to log in before you can comment on or make changes to this bug.