Closed
Bug 793830
Opened 12 years ago
Closed 12 years ago
Update Redirect For http://www.mozilla.org/contact/
Categories
(www.mozilla.org :: Legacy PHP system, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bensternthal, Unassigned)
References
Details
(Whiteboard: r=109562)
Attachments
(1 file, 1 obsolete file)
4.46 KB,
patch
|
Details | Diff | Splinter Review |
Please update the redirect for http://www.mozilla.org/contact/ to http://www.mozilla.org/en-US/about/contact.html
Reporter | ||
Updated•12 years ago
|
Assignee: server-ops-webops → nobody
Component: Server Operations: Web Operations → Legacy PHP system
Product: mozilla.org → www.mozilla.org
QA Contact: cshields
Reporter | ||
Comment 1•12 years ago
|
||
Attachment #666733 -
Flags: review?(mkelly)
Comment 2•12 years ago
|
||
Comment on attachment 666733 [details] [diff] [review] Patch file Review of attachment 666733 [details] [diff] [review]: ----------------------------------------------------------------- Looks good except my nits. ::: .htaccess @@ +1536,4 @@ > # > # These matched files have permanently moved and will return a 301 status. > # > +RedirectMatch permanent ^/contact/ http://www.mozilla.org/about/contact.html You should remove the "http://www.mozilla.org" from the redirect URL so that this will work across the dev and staging servers as well as production. @@ +1536,5 @@ > # > # These matched files have permanently moved and will return a 301 status. > # > +RedirectMatch permanent ^/contact/ http://www.mozilla.org/about/contact.html > +RedirectMatch permanent ^/developer/ https://developer.mozilla.org/docs/Developer_Guide Aha, now I see why the other diff had this in it. Please remove. :)
Attachment #666733 -
Flags: review?(mkelly) → review+
Reporter | ||
Comment 3•12 years ago
|
||
Re-doing the patch. 1. Added the ? 2. Sep patch for /contact 3. Removed domain 3. As per discussion yesterday removing the dirs that are being completely redirected
Reporter | ||
Comment 4•12 years ago
|
||
Attachment #666733 -
Attachment is obsolete: true
Attachment #667075 -
Flags: review?(mkelly)
Comment 5•12 years ago
|
||
Comment on attachment 667075 [details] [diff] [review] Added redirect, removed directory Review of attachment 667075 [details] [diff] [review]: ----------------------------------------------------------------- ::: .htaccess @@ +1536,4 @@ > # > # These matched files have permanently moved and will return a 301 status. > # > +RedirectMatch permanent ^/contact/? /about/contact.html If you're removing the htaccess you should modify this regex to accept the old URLs as well (cool URLs don't change!).
Attachment #667075 -
Flags: review?(mkelly) → review-
Reporter | ||
Comment 6•12 years ago
|
||
The old htaccess had the following 3 entries: -Redirect permanent /contact/moz-office-map.html http://www.mozilla.org/contact/ -Redirect permanent /contact/moz-office-map.gif http://www.mozilla.org/contact/ -Redirect permanent /contact/moz-office-map.png http://www.mozilla.org/contact/ So the blanket redirect covers these. I think based on that what I did was OK.
Updated•12 years ago
|
Attachment #667075 -
Flags: review- → review+
Comment 7•12 years ago
|
||
Of course, these are partial matches. My mistake!
Reporter | ||
Updated•12 years ago
|
Whiteboard: r=109562
Reporter | ||
Updated•12 years ago
|
Attachment #667075 -
Flags: review+
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•12 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•