Hi,
I need to rewrite the URL only if somebody comes referred from a specific site. How can I do that? Is this even possible?
Thanks,
Will
From Apache:
http://httpd.apache.org/docs/2.2/misc/rewriteguide.html
RewriteEngine on RewriteCond %{REMOTE_HOST} !^.+\.ourdomain\.com$ RewriteRule ^(/~.+) http://www.somewhere.com/$1 [R,L]
This doesn't seem to quite do what I want.
Say my site is www.two.com. Whenever www.one.com links to me, its users end up seeing www.one.com/two rather than www.two.com. Whenever anyone else links to me, everything is normal.
Any ideas?