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)
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.
Comment 1•11 years ago
|
||
Pascal, could you check about this or add someone who can help about this?
Comment 2•11 years ago
|
||
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
Comment 3•11 years ago
|
||
(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.
Comment 4•11 years ago
|
||
(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.
Comment 5•11 years ago
|
||
(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.
Reporter | ||
Comment 6•11 years ago
|
||
(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.
Comment 7•11 years ago
|
||
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
Reporter | ||
Comment 8•11 years ago
|
||
(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.
Comment 9•11 years ago
|
||
(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.
Reporter | ||
Comment 10•11 years ago
|
||
Reporter | ||
Comment 11•11 years ago
|
||
The pull request I attached and http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/trunk/ja/.htaccess?revision=128274&view=markup will enable us to redirect accesses of /ja/about/ to http://mozilla.jp/about/mozilla/
Comment 12•11 years ago
|
||
> RewriteRule ^(index.html)?$ http://www.mozilla.jp/
> RewriteRule ^about(/?|/index.html?)$ http://www.mozilla.jp/about/mozilla/
Both needs the [L,R] flag.
Reporter | ||
Comment 13•11 years ago
|
||
(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
Comment 14•11 years ago
|
||
Hi N. Shimizu-
We will review the request.
Thx,
Jen
Updated•11 years ago
|
Whiteboard: [kb=1389970]
Comment 15•11 years ago
|
||
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/
Updated•11 years ago
|
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.
Description
•