aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog/templates/blogs_vhosts.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog/templates/blogs_vhosts.conf')
-rw-r--r--modules/blog/templates/blogs_vhosts.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/blog/templates/blogs_vhosts.conf b/modules/blog/templates/blogs_vhosts.conf
index b4a91396..48b6d9ad 100644
--- a/modules/blog/templates/blogs_vhosts.conf
+++ b/modules/blog/templates/blogs_vhosts.conf
@@ -5,3 +5,12 @@
Options FollowSymlinks
Options +Indexes
</Directory>
+# Add a permanent redirection for 'pt' as it was 'pt-br' before
+# Add a permanent redirection for '/*' as it's now '/en/' for english blog
+# TO BE REMOVE in May, 1st (?)
+<IfModule mod_alias.c>
+ Redirect permanent /pt-br/ /pt/
+ Redirect permanent /wp-content/uploads/ /en/wp-content/uploads/
+ Redirect permanent /wp-includes/images/ /en/wp-includes/images/
+ RedirectMatch permanent ^/?$ /en/
+</IfModule>