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-18-2002, 11:16 PM   #1
pornJester
Confirmed User
 
Join Date: Mar 2001
Location: Florida
Posts: 6,138
referring URL redirection

anyone know if there is a way to use .htaccess or something similar to redirect incoming traffic based on keywords or strings contained in the referring URL?
__________________


FreshBucks | Webmaster Vault | GayAW
Trusted Names in Adult.
ICQ 9157.3698
pornJester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 01:51 AM   #2
Muff
Confirmed User
 
Join Date: Mar 2001
Location: Toronto
Posts: 1,782
That sounds like a script you would need programed for you.

if you know the referering URLs you can use Java

< SCRIPT LANGUAGE="JavaScript" >

<!--
if (document.referrer.indexOf(blabla.com') > -1)
location.href = 'http://www.redirect.com';
//-->

< /SCRIPT >

Remove the spaces from the script tags.
Muff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 01:53 AM   #3
Muff
Confirmed User
 
Join Date: Mar 2001
Location: Toronto
Posts: 1,782
Code:
<SCRIPT LANGUAGE="JavaScript">

<!--
if (document.referrer.indexOf('referer.com') > -1)
location.href = 'http://www.yoursite.com';
//-->

</SCRIPT>
oops.
Muff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 01:55 AM   #4
Muff
Confirmed User
 
Join Date: Mar 2001
Location: Toronto
Posts: 1,782


If this doesnt work you are out of luck.

<!--
if (document.referrer.indexOf('pornno.com') > -1)
location.href = 'http://www.xxxlinkcafe.com';
if (document.referrer.indexOf('www.pornno.com') > -1)
location.href = 'http://www.xxxlinkcafe.com';
//-->


< SCRIPT LANGUAGE="JavaScript" >
< /script >
Muff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 01:56 AM   #5
Muff
Confirmed User
 
Join Date: Mar 2001
Location: Toronto
Posts: 1,782
view source here. http://www.xxxlinkcafe.com/older-women-sex.html in between the head tags.

Fuck UBB.
Muff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 02:11 AM   #6
Lane
Will code for food...
 
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
<?php
if (eregi("keyword",$HTTP_REFERER)) header ("Location: http://www.wherever.com");
?>
__________________
Lane 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.