Created
January 7, 2014 18:04
-
-
Save wwwbruno/8303715 to your computer and use it in GitHub Desktop.
Regra de redirecionamento definitivo do apache para site com mais de um domínio
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 | |
RewriteCond %{HTTP_HOST} ^siteantigo.com.br$ [OR] | |
RewriteCond %{HTTP_HOST} ^www.siteantigo.com.br$ [OR] | |
RewriteCond %{HTTP_HOST} ^sitenovo.com.br$ | |
RewriteRule (.*)$ http://www.sitenovo.com.br/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment