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 do I redirect traffic from 1 site thats sending it? (https://gfy.com/showthread.php?t=712048)

Love Sex 03-05-2007 10:53 PM

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?

Lycanthrope 03-05-2007 11:52 PM

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

Love Sex 03-06-2007 12:46 AM

thanks alot, gonna try this tommorow.

you got the shitsite right too

tenderobject 03-06-2007 12:57 AM

Quote:

Originally Posted by Lycanthrope (Post 12026441)
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!

Love Sex 03-06-2007 02:50 AM

Quote:

Originally Posted by tenderobject (Post 12026624)
shitsite.com would be the site that you will gonna forward traffic to redirect.com right? lol stupid question yoh!

Havent tried yet but i assume that is correct.

dynastoned 03-06-2007 02:59 AM

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]

:thumbsup


All times are GMT -7. The time now is 02:56 AM.

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