Closed Bug 987059 Opened 11 years ago Closed 11 years ago

set redirect from /ja/about to htp://www.mozilla.jp/about/mozilla

Categories

(www.mozilla.org :: L10N, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nshimizu, Unassigned)

Details

(Whiteboard: [kb=1389970] )

Attachments

(1 file)

I added a redirection rule to ja/.htaccess as http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/trunk/ja/.htaccess?revision=125488&view=markup . It is assumed to redirect the access to /ja/about to http://www.mozilla.jp/about/mozilla, but it does not work. I suppose that that commitment is not alive. Would you make it alive or give me pointer / information which I can do.
Pascal, could you check about this or add someone who can help about this?
Chris, can someone in your team check and help to solve this bug? Background about this bug: about:home of Firefox have a link to /about/ page in the top-right corner: https://www.mozilla.org/about/?utm_source=about-home&utm_medium=Referral This will not redirect to mozilla.jp and Japanese Firefox users will see English only page. This link in the about:home page is very easy to notice and we (Mozilla Japan) want redirect users to Japanese page. Thanks
(In reply to dynamis (Tomoya ASAI) from comment #2) > Chris, can someone in your team check and help to solve this bug? > > Background about this bug: > about:home of Firefox have a link to /about/ page in the top-right corner: > https://www.mozilla.org/about/?utm_source=about-home&utm_medium=Referral > > This will not redirect to mozilla.jp and Japanese Firefox users will see > English only page. > This link in the about:home page is very easy to notice and we (Mozilla > Japan) want redirect users to Japanese page. > > Thanks The right fix seems to me to translate the page on mozilla.org like all other locales.
(In reply to Pascal Chevrel:pascalc from comment #3) > The right fix seems to me to translate the page on mozilla.org like all > other locales. Some contents can be covered on mozilla.org but in our case, we have some additional pages including "about Mozilla Japan", "Press Room" etc. In the future if we can add page and customize contents more, we may move to mozilla.org. But it takes time. We need redirect so far.
(In reply to dynamis (Tomoya ASAI) from comment #4) > (In reply to Pascal Chevrel:pascalc from comment #3) > > The right fix seems to me to translate the page on mozilla.org like all > > other locales. > > Some contents can be covered on mozilla.org but in our case, we have some > additional pages including "about Mozilla Japan", "Press Room" etc. > > In the future if we can add page and customize contents more, we may move to > mozilla.org. But it takes time. We need redirect so far. It is already possible on mozilla.org to have specific per locale content through various tools such as conditionals based on locale code, html sub-templates, l10n blocks. We can also have pages that would exist only in Japanese if you have people to maintain them on mozilla.org. Note that some pages cannot be on another domain than mozilla.org, the Firefox Australis tour for example will only work with a mozilla.org url as it is an in-product page.
(In reply to Pascal Chevrel:pascalc from comment #5) > It is already possible on mozilla.org to have specific per locale content > through various tools such as conditionals based on locale code, html > sub-templates, l10n blocks. We can also have pages that would exist only in > Japanese if you have people to maintain them on mozilla.org. Thank you for the information. We never know such functionality of bedrock. We will migrate our contents in mozilla.jp with the tools which you mentioned. But for now, would you please make mozilla.com/ja/.htaccess active? We will migrate just our Firefox desktop web site into mozilla.org when Australis launches. At that time, many contents remains in mozilla.jp. For Japanese people's convenience, we should set navigation to the contents in mozilla.jp from Firefox desktop web site on mozilla.org.
Committed in r126344, this is pushing your last 3 changes o .htaccess to stage, please test all your changes on the staging site and once it is done, I will push that to production, thanks. https://www.allizom.org
(In reply to Pascal Chevrel:pascalc from comment #7) > Committed in r126344, this is pushing your last 3 changes o .htaccess to > stage, please test all your changes on the staging site and once it is done, > I will push that to production, thanks. > > https://www.allizom.org Thank you! I will add another comment after finishing the test of all my modification. By the way, could you tell me how to enable ja/.htaccess with bedrock. I am struggling to build local environment for development and testing, especially for testing the redirection settings.
(In reply to N. Shimizu from comment #8) > (In reply to Pascal Chevrel:pascalc from comment #7) > > Committed in r126344, this is pushing your last 3 changes o .htaccess to > > stage, please test all your changes on the staging site and once it is done, > > I will push that to production, thanks. > > > > https://www.allizom.org > > Thank you! > I will add another comment after finishing the test of all my modification. > > By the way, could you tell me how to enable ja/.htaccess with bedrock. > I am struggling to build local environment for development and testing, > especially for testing the redirection settings. Maybe the docs can help you ? https://bedrock.readthedocs.org/en/latest/php.html I only run the newer python site locally, not the legacy php one. Otherwise, you could connect to the #www IRC channel and ask for help to mozilla.org webdevs there.
> RewriteRule ^(index.html)?$ http://www.mozilla.jp/ > RewriteRule ^about(/?|/index.html?)$ http://www.mozilla.jp/about/mozilla/ Both needs the [L,R] flag.
(In reply to Kohei Yoshino [:kohei] from comment #12) > > RewriteRule ^(index.html)?$ http://www.mozilla.jp/ > > RewriteRule ^about(/?|/index.html?)$ http://www.mozilla.jp/about/mozilla/ > > Both needs the [L,R] flag. Thank you for your reviewing. The flag are added as http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/trunk/ja/.htaccess?revision=128321&view=markup
Hi N. Shimizu- We will review the request. Thx, Jen
Whiteboard: [kb=1389970]
Commits pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/d6aa4c8f567b9397c832048bf6551b5ceb9d2592 Added a redirection rule which stops the redreiction /ja/about to /b/ja/about (Bug 987059). https://github.com/mozilla/bedrock/commit/4639ede10ea8614039b4d0dc1ebc5674c7550e82 Merge pull request #1994 from chikoski/bug987059 Bug 987059: Stopage of the redirection /ja/about/ to /b/ja/about/
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: