![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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 > |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |