aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/templates/planet_vhosts.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/planet/templates/planet_vhosts.conf')
-rw-r--r--modules/planet/templates/planet_vhosts.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/planet/templates/planet_vhosts.conf b/modules/planet/templates/planet_vhosts.conf
index ecf0c639..5a59e1ed 100644
--- a/modules/planet/templates/planet_vhosts.conf
+++ b/modules/planet/templates/planet_vhosts.conf
@@ -5,3 +5,7 @@
Options FollowSymlinks
Options +Indexes
</Directory>
+# Add a permanent redirection for '/*' as '/en/' for english planet
+<IfModule mod_alias.c>
+ RedirectMatch permanent ^/?$ /en/
+</IfModule>