Last active
August 29, 2015 14:04
-
-
Save nahakiole/de7b067c98ad25decacd to your computer and use it in GitHub Desktop.
Force a domain redirection with .htaccess file.
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 | |
RewriteBase / | |
RewriteCond %{HTTP_HOST} !(robinglauser.ch)$ [NC] | |
RewriteRule ^(.*)$ http://www.robinglauser.ch/$1 [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment