Forum Moderators: phranque
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bogus.com/showthread.php?t=64029 [NC]
RewriteRule .* [myothersite.com...] [R,L]
but I just can't seem to make it work after reading for the entire day... Is htaccess even the right tool for this task?
#
# The following line may be required to enable mod_rewrite
Options +FollowSymLinks
RewriteEngine on
#
# Escape all regex tokens if they are to be treated as literals, and removed unneeded parens
RewriteCond %{HTTP_REFERER} ^https?://(www\.)?bogus\.com/showthread\.php\?t=64029 [NC]
# Specify either a 301 or 302 redirect
RewriteRule .* http://www.myothersite.com [R=301,L]
Jim