summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-11-09 14:25:12 +0000
committerintrigeri <intrigeri@boum.org>2018-11-09 14:25:12 +0000
commitab8075ce90fbaeaff7daaf954f38fcb73b93bda6 (patch)
tree4664aadee97c884eb9db3d985948f38193a30a64
parenteab8e4758ec04a4d5bfa9645c57082cd4f95f1a0 (diff)
Fix rewrite rules (refs: #14588)
-rw-r--r--files/website/rewrite_rules.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/website/rewrite_rules.conf b/files/website/rewrite_rules.conf
index d2b6305..76d4fa6 100644
--- a/files/website/rewrite_rules.conf
+++ b/files/website/rewrite_rules.conf
@@ -30,9 +30,9 @@ rewrite ^/git/?$ /contribute/git permanent;
rewrite ^/GnuPG_key/?$ /doc/about/openpgp_keys permanent;
rewrite ^/license/?$ /doc/about/license permanent;
rewrite ^/news/Call_for_help:_improve_the_infrastructure_behind_Tails/?$ /news/improve_the_infrastructure_behind_Tails permanent;
-rewrite ^/news/index\.([a-z]+)\.(atom|rss)$ /news/index.$1.$2 permanent;
+rewrite ^/news/index\.[a-z]+\.(atom|rss)$ /news/index.en.$1 permanent;
rewrite ^/promote/(.*) /contribute/how/promote/material/$1 permanent;
-rewrite ^/security/index\.([a-z]+)\.(atom|rss)$ /security/index.$1.$2 permanent;
+rewrite ^/security/index\.[a-z]+\.(atom|rss)$ /security/index.en.$1 permanent;
rewrite ^/support/truecrypt/?$ /doc/encryption_and_privacy/veracrypt permanent;
rewrite ^/support/virtualization/?$ /doc/advanced_topics/virtualization permanent;
rewrite ^/support/walkthrough/?$ /doc permanent;