Created
June 3, 2016 20:58
-
-
Save lyquix-owner/2c4e2a027b6413c239a138a5a09bda04 to your computer and use it in GitHub Desktop.
Evaluate multiple conditions that execute the same redirect rule
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
# Redirect multiple domains to another domain # | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^espanol.com$ [OR,NC] | |
RewriteCond %{HTTP_HOST} ^deutsch.com$ [OR,NC] | |
RewriteCond %{HTTP_HOST} ^suomi.com$ [NC] | |
RewriteRule ^(.*)$ http://www.example.com/international [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment