Created
February 19, 2010 19:52
-
-
Save shadowmaru/309131 to your computer and use it in GitHub Desktop.
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
location /atendimento.php { | |
rewrite /atendimento.php http://www.smartfit.com.br/atendimento permanent; | |
} | |
location /franquias.php { | |
rewrite /franquias.php http://www.smartfit.com.br/franchises/new permanent; | |
} | |
location /unidades.php { | |
rewrite /unidades.php http://www.smartfit.com.br/unidades permanent; | |
} | |
location /a-smartfit.php { | |
if ($args ~ idUnidade=1) { | |
rewrite ^ http://www.smartfit.com.br/unidades/brasilia? permanent; | |
} | |
if ($args ~ idUnidade=2) { | |
rewrite ^ http://www.smartfit.com.br/unidades/morumbi? permanent; | |
} | |
if ($args ~ idUnidade=3) { | |
rewrite ^ http://www.smartfit.com.br/unidades/porto-alegre? permanent; | |
} | |
if ($args ~ idUnidade=4) { | |
rewrite ^ http://www.smartfit.com.br/unidades/copacabana-i? permanent; | |
} | |
if ($args ~ idUnidade=5) { | |
rewrite ^ http://www.smartfit.com.br/unidades/copacabana-ii? permanent; | |
} | |
if ($args ~ idUnidade=6) { | |
rewrite ^ http://www.smartfit.com.br/unidades/botafogo? permanent; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment