GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Help to figure out how to redirect by language/country (https://gfy.com/showthread.php?t=78892)

Mastercross 09-24-2002 12:41 PM

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.


All times are GMT -7. The time now is 07:40 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123