Fix htaccess

This commit is contained in:
hiro 2019-04-08 21:50:36 +02:00
parent f874dc48cc
commit f39b5108c1
2 changed files with 6 additions and 5 deletions

View File

@ -8,16 +8,16 @@ RewriteRule ^en / [R=302,L]
# Rewrites for languages that have a different mapping in the page
RewriteRule ^(es-ES|es-AR|es-MX|es-CO)$ /es$2 [R=302,L]
RewriteRule ^(es-ES|es-AR|es-MX|es-CO)$ /es$1 [R=302,L]
# support for old URLs
RewriteRule ^(.+)/security-slider.html$ /$1/security-slider/ [R=302,L]
RewriteRule ^/security-slider.html.$ /$1/security-slider/ [R=302,L]
# Rewrites for languages that have a Tor Browser release
# but don't have a translated manual
# this languages are the priority for translation of the Tor Browser User Manual!
RewriteRule ^(cs|da|fa|he|hu|is|ja|ko|nb-NO|nl|pl|sv-SE|vi|zh-TW)(.+)$ /$2 [R=302,L]
RewriteRule ^(cs|da|fa|he|hu|is|ja|ko|nb-NO|nl|pl|sv-SE|vi|zh-TW)$ /$1 [R=302,L]
# we have only one translation for this locales
RewriteRule ^bn-BD(.+)$ /bn$1 [R=302,L]
RewriteRule ^bn-IN(.+)$ /bn$1 [R=302,L]
RewriteRule ^bn-BD$ /bn$1 [R=302,L]
RewriteRule ^bn-IN$ /bn$1 [R=302,L]

View File

@ -1,5 +1,6 @@
README
lektor_i18n.py
setup.py
lektor_i18n.egg-info/PKG-INFO
lektor_i18n.egg-info/SOURCES.txt
lektor_i18n.egg-info/dependency_links.txt