Redirect mozilla.org/developer to developer.mozilla.org

VERIFIED FIXED

Status

www.mozilla.org
Legacy PHP system
P3
normal
VERIFIED FIXED
6 years ago
5 years ago

People

(Reporter: bensternthal, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Please implement a blanket redirect from

mozilla.org/developer

to

https://developer.mozilla.org/docs/Developer_Guide

Discussion and approval here: https://bugzilla.mozilla.org/show_bug.cgi?id=758687
(Reporter)

Updated

6 years ago
Summary: Redirect mozilla.org/developer do developer.mozilla.org → Redirect mozilla.org/developer to developer.mozilla.org
Assignee: server-ops-webops → bburton
Priority: -- → P3
Whiteboard: [push-interrupt][triaged 20120925]

Comment 1

6 years ago
Should we be doing this on our end (webops), or should this go in the .htaccess file that already has lots of redirects in it (webdev)? My inclination is the latter, just to keep things consolidated... it's messy enough without having redirects somewhere else too. :)
(Reporter)

Comment 2

6 years ago
Jake, good point. Yep this should go in the .htaccess file, I had thought webops could update this but based on the above it's webdev. I will move this one, and the other ones I added.
Assignee: bburton → nobody
Component: Server Operations: Web Operations → Legacy PHP system
Product: mozilla.org → www.mozilla.org
QA Contact: cshields
(Reporter)

Updated

6 years ago
Whiteboard: [push-interrupt][triaged 20120925]
(Reporter)

Comment 3

6 years ago
Created attachment 666732 [details] [diff] [review]
Patch file
Attachment #666732 - Flags: review?(mkelly)
Comment on attachment 666732 [details] [diff] [review]
Patch file

Review of attachment 666732 [details] [diff] [review]:
-----------------------------------------------------------------

> RedirectMatch permanent ^/contact/ http://www.mozilla.org/about/contact.html

You seem to have included an extra redirect in your diff by mistake. Please remove it.

> RedirectMatch permanent ^/developer/ https://developer.mozilla.org/docs/Developer_Guide

Add a ? after the last / to make it optional, in case someone types in https://mozilla.org/developer

Looks good otherwise. :D
Attachment #666732 - Flags: review?(mkelly) → review+
(Reporter)

Comment 5

6 years ago
Re-doing the patch.

1. Added the ?
2. Sep patch for /contact
3. As per discussion yesterday removing the dirs that are being completely redirected
(Reporter)

Comment 6

6 years ago
Created attachment 667053 [details] [diff] [review]
Added redirect, removed directory
Attachment #667053 - Flags: review?(mkelly)
Attachment #667053 - Flags: review?(mkelly) → review+
(Reporter)

Updated

6 years ago
Whiteboard: r=109548
(Reporter)

Comment 7

6 years ago
Comment on attachment 667053 [details] [diff] [review]
Added redirect, removed directory

Anthony can you take a look at the above, we are having the following behavior on dev and mkelly is stumped.

The above patch is on dev and:

https://www-dev.allizom.org/developer/

Goes to

https://www-dev.allizom.org/en-US/developer/

Expected to go to https://developer.mozilla.org/docs/Developer_Guide
Attachment #667053 - Flags: review?(anthony)
(Reporter)

Updated

6 years ago
Whiteboard: r=109548
(Reporter)

Updated

6 years ago
Attachment #667053 - Flags: review?(anthony)
(Reporter)

Updated

6 years ago
Depends on: 797577
(Reporter)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Reporter)

Updated

5 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.