![]() |
ISO Redirection Script
I get a lot of 404 traffic. Often, the same IP hits a page that no longer exists multiple times in a day.
Is there a basic script I could use that would take this user, redirect him to an affiliate. If the same IP comes to a 404 page again in say a 24 hour period, the script would send him to another affiliate. Thanks |
willing to pay for it? if you are I can IM mrkris he's a leet c0deR y0
|
ATO Script's Gallery Admin will do this. You can also use the scripts for TGPs, other links, any type of traffic.
Alternately, just setup your 404 page to redirect to random links like so, put this in the head: <SCRIPT> <!-- //Specify as many random links as you want below and number accordingly var randomlinks=new Array() randomlinks[0]="http://www.url.one" randomlinks[1]="http://www.url.two" function randomlink(){ window.location=randomlinks[Math.floor(Math.random()*randomlinks.length)] } //--> </SCRIPT> and throw this in your body tag: <BODY ONLOAD="randomlink()"> This will redirect them to a random specified url every page load |
if you still need it and want to invest a few bucks, icq: 33375924
|
Thanks Lycanthrope, I'll check out ATO script.
That random redirect script is nice, but I'm looking to have it so that The first hit by an IP always goes to sponsor 1 The second hit by an IP always goes to sponsor 2All consecutive hits by this IP goes to a final sponsor Quote:
|
Just set a cookie on your 404 page, that gets read wen the page loads, if the cookie exists, redirect to wherever, if it doesnt, redirect to a diff url.
Regards, Lee |
Quote:
|
You should check out http://www.javascripts.com for the cookie codes the redirect part id figure you could pick up from http://www.hotscripts.com :)
Regards, Lee |
All times are GMT -7. The time now is 11:46 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123