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?
How do I redirect traffic from 1 site thats sending it?
Collapse
X
-
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 -
shitsite.com would be the site that you will gonna forward traffic to redirect.com right? lol stupid question yoh!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
NEED DESIGNS?!?
Comment
-
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]
Comment


Comment