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.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/blog/templates/blogs_vhosts.conf b/modules/blog/templates/blogs_vhosts.conf
new file mode 100644
index 00000000..ff3c792f
--- /dev/null
+++ b/modules/blog/templates/blogs_vhosts.conf
@@ -0,0 +1,16 @@
+<Directory <%= blog_location %> >
+ Order deny,allow
+ Allow from All
+ AllowOverride All
+ 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>