htaccess referral redirect loop error

by 5 replies
6
Hi there,

First post, thanks for your help through google searches it helped me find:

http://www.warriorforum.com/programm...-referrer.html

to help me write a rule in our htaccess to prevent some unwanted traffic, but its still not quite complete. I get a redirect loop error in chrome and have to refreash the page in order for the page to display. Other browsers it wont even load. Pardon me if real URLs arent allowed. Here is the code below
Code:
RewriteCond %{HTTP_REFERER} ^http://taichi37.wordpress.com [NC]
RewriteCond %{REQUEST_URI} !^http://gothunts.com/zimbabwe-non-trophy-elephant-hunts/
RewriteRule ^.*$ /see-what-happens-to-an-elephant-after-elephant-hunting/ [R=302,L]
#programming #error #htaccess #loop #redirect #referral

Next Topics on Trending Feed