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 Mark Forums Read
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 11-08-2002, 11:18 PM   #1
XXXPaysiteDesign
Confirmed User
 
Join Date: Mar 2002
Location: Everett, WA
Posts: 2,201
redirecting traffic from a certain domain?

What do I put into htaccess to redirect traffic from a certain domain?
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
XXXPaysiteDesign is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-08-2002, 11:19 PM   #2
DearAbby
Confirmed User
 
Join Date: Nov 2002
Location: NoCal
Posts: 979
Try:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://redirected-domain.com*$ [NC]
DearAbby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-09-2002, 12:23 AM   #3
XXXPaysiteDesign
Confirmed User
 
Join Date: Mar 2002
Location: Everett, WA
Posts: 2,201
So would it look like this?

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.sitetoredirect.com$
RewriteCond %{HTTP_REFERER} !^http://sitetoredirect.com$
RewriteCond %{HTTP_REFERER} !^http://www.redirectedhere.com*$ [NC]



????
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
XXXPaysiteDesign is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-09-2002, 12:30 AM   #4
Splicer
Confirmed User
 
Join Date: May 2002
Location: Baja
Posts: 198
I use it this way:

RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} ^http://.*domain1.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*domain2.com/* [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*domain3.com/* [NC]
RewriteRule /* http://www.redirected.com


I'm guessing you'll want to redirect more than one domain soon enough
__________________
Are we rich yet?
Splicer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-09-2002, 12:32 AM   #5
XXXPaysiteDesign
Confirmed User
 
Join Date: Mar 2002
Location: Everett, WA
Posts: 2,201
Thanks both of you.
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
XXXPaysiteDesign 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
Thread Tools



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.