![]() |
![]() |
![]() |
||||
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: Nov 2004
Posts: 1,905
|
How do I redirect traffic from 1 site thats sending it?
I want to redirect all incoming traffic from a specific site but cant find any tutorials. Is there a simple code or something to place in my .htaccess file or something similar?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
RewriteCond %{HTTP_REFERER} ^http://([a-z0-9-]+\.)*shitsite.com/.*$ [NC]
ReWriteRule .* http://www.redirect.com [R,L] This will cover the domain and any sub-domains |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2004
Posts: 1,905
|
thanks alot, gonna try this tommorow.
you got the shitsite right too |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Need Designs? 312352846
Industry Role:
Join Date: Dec 2004
Location: Somewhere
Posts: 11,684
|
Quote:
__________________
NEED DESIGNS?!? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Nov 2004
Posts: 1,905
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
mmm yeah!
Industry Role:
Join Date: Feb 2005
Location: roseville, ca
Posts: 5,061
|
Heres an example from my .htaccess file on one of my sites.
Code:
RewriteEngine on RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sexmovielovers.com.*$ [NC,OR] RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?nasty-babes.net.*$ [NC] RewriteRule .* http://www.8thstreetlatinas.com/main.htm?id=dynastoned&p=clean [R,L] ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |