Use htaccess rewrite rules for redirecting localized pages
Similar to community#154 (closed), I want to use a variable url in Tor Browser like https://www.torproject.org/$langTag/$escapedTopic
where it could result in a url like: https://www.torproject.org/es/releases
. However, neither en/
(for https://www.torproject.org/en/releases
) nor en-US
are valid languages for the web site (they result in a 404). Both es-ES
and es-AR
result in a similar 404
, too, because only es/
is valid.
Redirecting en
and en-US
to /
, and es-AR
and es-ES
to es
will be very helpful. (I'm assuming es-AR
-> es
is better than es-AR
-> en
). There may be additional locales we should redirect, too.
Edited by Matthew Finkel