Need a means to manage permanent redirects on www.mozilla.org

RESOLVED FIXED

Status

RESOLVED FIXED
7 years ago
6 years ago

People

(Reporter: karlt, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Since bug 683748, I'm not clear what the mechanism is for managing redirects, if there is one.

Bug 683748 talked about a "main www.mozilla.org .htaccess file" but Bug 724682 comment 14 implies that this is not the file under svn.  Redirects that were in this file appear to still be effective.  Is that just because they have been transferred to a new system?

A review request for patches to the svn root .htaccess file was ignored in bug 445029.
(Reporter)

Updated

7 years ago
Summary: Need to means to manage permanent redirects on www.mozilla.org → Need a means to manage permanent redirects on www.mozilla.org

Comment 1

7 years ago
(In reply to Karl Tomlinson (:karlt) from comment #0)
> Since bug 683748, I'm not clear what the mechanism is for managing
> redirects, if there is one.
> 
> Bug 683748 talked about a "main www.mozilla.org .htaccess file" but Bug
> 724682 comment 14 implies that this is not the file under svn.  Redirects
> that were in this file appear to still be effective.  Is that just because
> they have been transferred to a new system?
> 
> A review request for patches to the svn root .htaccess file was ignored in
> bug 445029.

Hey Kari,

Not sure if I can help, but I'd like to try. The bug you reference bug 445029 was submitted in 2008, which pre-dates me certainly.

In August 2011, mozilla.org and mozilla.com merged into a single site. There were some changes, which David Boswell referenced in https://bugzilla.mozilla.org/show_bug.cgi?id=724682#c14

In March 2012, we will be retiring the current mozilla.org and are in the final stages of retiring content to the www-archive or to wiki.mozilla.org.

mozilla.org will continue to live on as a canonical entry point for guiding users to projects that live on wikimo and on many other sub-domains and domains. We won't be able to host all of that content though.

I'd be happy to work with you on the specific redirects that you need at this time (since things will be changing in a few weeks), if you can list them here in this bug. Alternatively, please email me at cbrodigan@mozilla.com

Thanks!
(Reporter)

Comment 2

7 years ago
Thanks, Chrissie.  I'll fill in our situation and perhaps you can help us determine the appropriate way to proceed and/or help us with the specific redirect steps.

Frédéric has been moving the MathML project pages from www.mozilla.org to https://developer.mozilla.org/en/Mozilla_MathML_Project, but the remaining pages pages include MathML sample fragments which are not supported by MDN's current wiki system.  (Bug 602828.)

These pages are still being maintained on www.mozilla.org via svn.mozilla.org.

Given the March EOL, it is sounding like the best approach is to apply all the changes we can now before the pages are frozen on www-archive.
It sounds like we won't be able to update/maintain these pages after that date until we find a new place to host them.

I see there are other bugs requesting redirects for other projects.

Right now we'd like to add the redirects in attachment 572605 [details] [diff] [review] (for bug 445029), but we'd also like to move the other demos from xhtml to html in bug 728725.
Would a list similar to attachment 572605 [details] [diff] [review] be the best way to request those redirects?

Do you think that after March we'll still be able to have redirects in place on www.mozilla.org and change them to point to wherever the new host will be?
This can be summarized with the following points:

* mozilla.org (foundation codebase) used to be a separate site with its own htaccess files. These htaccess files are defunct now and do not work.

* mozilla.org/firefox (product codebase) used to be its own site (mozilla.com) with its own htaccess files. These are the files that are still used in production, and most of the rules from the .org codebase have been merged into these.

For new redirects, you just have to add it to the mozilla.com codebase. Those are the live htaccess files. Any ones outside of that codebase are completely ignored.
The mozilla.com htaccess file will still be live after March. There are tons of redirects in there and it will take us a long time to port them. It will most likely be live for many months, so we can either add redirects there or put them in a new system we make. Either way, it's not hard.
Sounds good to me. If you have any redirects that you'd like to have set, please file bugs in the mozilla.org/firefox component and we'll be happy to help!
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Reporter)

Comment 6

7 years ago
Thanks for the info.  There is still something that I don't understand.

http://www.mozilla.org/projects/mathml/authoring.html returns a 301 for https://developer.mozilla.org/en/Mozilla_MathML_Project/Authoring
which is what we want thanks.

There was a permanent redirect in the mozilla.org root .htaccess, but that file is not used now.
http://viewvc.svn.mozilla.org/vc/projects/mozilla.org/trunk/.htaccess?view=markup#l1316

I don't see a similar rule in the mozilla.com root .htaccess file,
http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/trunk/.htaccess?view=markup
and yet something is still causing the redirect.

Where is the revision control for the mozilla.com htaccess files?
Status: RESOLVED → REOPENED
Component: www.mozilla.org → www.mozilla.org/firefox
QA Contact: www-mozilla-org → www-mozilla-com
Resolution: FIXED → ---
The enormous mass of 301 redirects is all in a rewrite map file. The one you're asking for is here:

<http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/trunk/org-urls-301.txt?revision=100054&view=markup#l1102>
(Reporter)

Comment 8

7 years ago
Thanks very much.
Status: REOPENED → RESOLVED
Last Resolved: 7 years ago7 years ago
Resolution: --- → FIXED
No problem, thanks for reaching out.
(Reporter)

Updated

7 years ago
Blocks: 731876
(Reporter)

Comment 10

7 years ago
(In reply to Fred Wenzel [:wenzel] from comment #5)
> If you have any redirects that you'd like to have set,
> please file bugs in the mozilla.org/firefox component and we'll be happy to
> help!

Apparently, this is not enough.
Requesting review from :jlong got a response this time.
(Assignee)

Updated

6 years ago
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
(Assignee)

Updated

6 years ago
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.