I am trying to make something (in .htaccess) where when some one comes to my site from a specific url it will redirect them to another site..
IE: user comes from http://www.freshmeat.net/ to http://www.dtheatre.com I want to redirect them to http://www.lumbroso.com/scripts/.. All others actually get to go to dtheatre.com
Make sense?
Any help would be appretiated.
I would use server side scripting to do it (PHP) - easy to check on the referer ...
I wouldn't use any script to avoid any overhead. If you are running Apache, let it handle the job. Since you are based on the HTTP_REFERER field, one way to do it is to setenv. Check out -> http://forums.devshed.com/showthread.php?threadid=8952
Then go to Apache site and check out the RedirectMatch directive