Last active
May 31, 2016 20:11
-
-
Save edheltzel/e4a8fde3608f9510643d15bacdd7bb1b to your computer and use it in GitHub Desktop.
redirect users based on Refereeing URL
This file contains hidden or 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_REFERER} .*yelp.com.*$ [OR] | |
RewriteCond %{HTTP_REFERER} .*google.com.*$ [OR] | |
RewriteCond %{HTTP_REFERER} .*some_website.com.*$ [OR] | |
RewriteCond %{HTTP_REFERER} .*github.com.*$ | |
RewriteRule ^(.*)$ http://your_site/custom_landing_page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment