|
|
|
||||
|
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
Join Date: Sep 2003
Posts: 5,250
|
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
|
|
|
|
|
|
#2 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: The Boonies
Posts: 12,860
|
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]
|
|
|
|
|
|
#3 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: The Boonies
Posts: 12,860
|
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. |
|
|
|