Closed Bug 793824 Opened 12 years ago Closed 12 years ago

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

Categories

(www.mozilla.org :: Legacy PHP system, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bensternthal, Unassigned)

References

Details

Attachments

(2 files)

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
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]
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. :)
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
Whiteboard: [push-interrupt][triaged 20120925]
Attached patch Patch fileSplinter Review
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+
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
Attachment #667053 - Flags: review?(mkelly)
Attachment #667053 - Flags: review?(mkelly) → review+
Whiteboard: r=109548
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)
Whiteboard: r=109548
Attachment #667053 - Flags: review?(anthony)
Depends on: 797577
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: