Created
September 16, 2016 13:26
-
-
Save briezler/283bba52846420ad79ee23bdf6de9962 to your computer and use it in GitHub Desktop.
htaccess redirect based on language with ip exclusion
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:Accept-Language} (de) [NC] | |
RewriteCond %{REMOTE_ADDR} !=80.81.2.190 | |
RewriteCond %{REMOTE_ADDR} != | |
RewriteCond %{REMOTE_ADDR} != | |
RewriteRule .* http://www.URL.de/ [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment