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

RESOLVED FIXED

Status

www.mozilla.org
General
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: Laura Forrest, Assigned: pmac)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

6 years ago
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!

Updated

6 years ago
Whiteboard: u=dev c=redirect p=1
(Reporter)

Comment 1

6 years ago
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.
(Reporter)

Updated

6 years ago
Blocks: 811533
(Reporter)

Comment 3

6 years ago
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

Updated

6 years ago
Assignee: malexis → jenbertsch.mozilla
(Reporter)

Comment 4

6 years ago
Hey Jen -- Can you help route this? It would be great to have this created by EOD today, or early tomorrow morning. Thanks!

Comment 5

6 years ago
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?

Comment 9

6 years ago
(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?

Comment 11

6 years ago
(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.

Comment 12

6 years ago
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.

Comment 13

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → FIXED

Comment 16

6 years ago
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.

Comment 17

6 years ago
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.