![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: May 2002
Posts: 151
|
Help to figure out how to redirect by language/country
Hi everyone,
I am trying to filter out some low converting traffic, so I came accross this line that I can use in my .htaccess RewriteEngine on RewriteCond %{ENV:HTTP_ACCEPT_LANGUAGE} !^en RewriteRule .* http://GoAway.com/ [R] the problem is that I am already using anti-hotlink RewriteEngine in this form RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://.*mydomain.com.*$ [NC] RewriteRule .*\.(gif|jpg|jpeg|asf|wmv|avi|mpg|mpeg)$ - [F] Can someone tell me how can these two blocks stay in .htaccess together? Better yet, if someone know how to filter out unproductive russian and asian traffic, please feel free to educate me. :-) Thanks in advance. |
![]() |
![]() ![]() ![]() ![]() ![]() |