Skip to content

Commit

Permalink
Fix bug 774675: Redirect /es/* to /es-ES/*
Browse files Browse the repository at this point in the history
Also:

* /en/ -> /en-US/
* /pt/ -> /pt-BR/
  • Loading branch information
pmac committed Nov 4, 2013
1 parent d1a28a7 commit 1a96c55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions etc/httpd/global.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

ExpiresActive on

## Fix locales

# bug 774675
RewriteRule ^/en/(.*)$ /en-US/$1 [L,R=301]
RewriteRule ^/es/(.*)$ /es-ES/$1 [L,R=301]
RewriteRule ^/pt/(.*)$ /pt-BR/$1 [L,R=301]

## Redirect things externally!

# bug 855734 - if request comes in with hostname that has a trailing ".", strip it off
Expand Down

0 comments on commit 1a96c55

Please sign in to comment.