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)
-   -   How can I redirect traffic from this referral domain (https://gfy.com/showthread.php?t=449578)

riosluts 03-29-2005 01:44 AM

How can I redirect traffic from this referral domain
 
is it possible to redirect some traffic from some referral domains such as some russian or chinese domains. Either send them to a error page or better yet feed them to my 404 traffic. I know i will never make any revenue from those visitors

iwantchixx 03-29-2005 02:04 AM

use this in your .htaccess file.

Code:

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.*).DOMAINTOBLOCK.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://DOMAINTOBLOCK.com/ [NC]
RewriteRule /* http://DOMAINTOSENDTRAFFICTO.com/ [R,L]


iwantchixx 03-29-2005 02:05 AM

if using more than one domain to block, add the 'OR' statement to the 'NC' area.

The last blocked domain should always end in [NC] only.


All times are GMT -7. The time now is 11:19 AM.

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