aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog/templates/blogs_vhosts.conf
blob: 48b6d9ad9e83ec0b23706eee8499fde4a6be39ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>