Created
July 1, 2013 19:30
-
-
Save claudiosanches/5903800 to your computer and use it in GitHub Desktop.
Django-CMS - Correção da URL do pt-br
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rewrite ^/?pt\-BR/(.*)$ /pt-br/$1 permanent; | |
rewrite ^/?pt\_BR/(.*)$ /pt-br/$1 permanent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteRule ^/?pt\-BR/(.*)$ /pt-br/$1 [R=301,L] | |
RewriteRule ^/?pt\_BR/(.*)$ /pt-br/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment