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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-05-2007, 10:53 PM   #1
Love Sex
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?
Love Sex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-05-2007, 11:52 PM   #2
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
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
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2007, 12:46 AM   #3
Love Sex
Confirmed User
 
Join Date: Nov 2004
Posts: 1,905
thanks alot, gonna try this tommorow.

you got the shitsite right too
Love Sex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2007, 12:57 AM   #4
tenderobject
Need Designs? 312352846
 
Industry Role:
Join Date: Dec 2004
Location: Somewhere
Posts: 11,684
Quote:
Originally Posted by Lycanthrope View Post
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!
__________________


NEED DESIGNS?!?
tenderobject is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2007, 02:50 AM   #5
Love Sex
Confirmed User
 
Join Date: Nov 2004
Posts: 1,905
Quote:
Originally Posted by tenderobject View Post
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.
Love Sex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-06-2007, 02:59 AM   #6
dynastoned
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]
dynastoned is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.