Created
June 3, 2016 20:57
-
-
Save lyquix-owner/230ea9c469e1e907ebf27fd2244ea2d8 to your computer and use it in GitHub Desktop.
Redirect any URL in domain to a page in another domain
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 domain to page in another domain # | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^www.spanish.com$ [NC] | |
RewriteRule ^(.*)$ http://www.example.com/spanish [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment