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)
-   -   referring URL redirection (https://gfy.com/showthread.php?t=53987)

pornJester 03-18-2002 11:16 PM

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?

Muff 03-19-2002 01:51 AM

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 03-19-2002 01:53 AM

Code:

<SCRIPT LANGUAGE="JavaScript">

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

</SCRIPT>

oops.

Muff 03-19-2002 01:55 AM

:mad:

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 03-19-2002 01:56 AM

view source here. http://www.xxxlinkcafe.com/older-women-sex.html in between the head tags.

Fuck UBB.

Lane 03-19-2002 02:11 AM

<?php
if (eregi("keyword",$HTTP_REFERER)) header ("Location: http://www.wherever.com");
?>


All times are GMT -7. The time now is 12:08 PM.

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