ISO Redirection Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raster
    Confirmed User
    • Aug 2003
    • 784

    #1

    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
  • JD
    Too lazy to set a custom title
    • Sep 2003
    • 22651

    #2
    willing to pay for it? if you are I can IM mrkris he's a leet c0deR y0

    Comment

    • Lycanthrope
      Confirmed User
      • Jan 2004
      • 4517

      #3
      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

      Comment

      • woj
        <&(©¿©)&>
        • Jul 2002
        • 47882

        #4
        if you still need it and want to invest a few bucks, icq: 33375924
        Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
        Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
        Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

        Comment

        • raster
          Confirmed User
          • Aug 2003
          • 784

          #5
          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

          Originally posted by Lycanthrope
          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

          Comment

          • European Lee
            Confirmed User
            • Dec 2002
            • 7133

            #6
            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
            YOUR TRAFFIC IS SAFE WITH US - CONDOM CASH
            PUTTING THE GAY ADULT INDUSTRY ON YOUR PC!!
            AFFORDABLE 2257 COMPLIANT GAY + BI CONTENT

            Comment

            • raster
              Confirmed User
              • Aug 2003
              • 784

              #7
              Originally posted by European Lee
              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
              Lee, would you know of a snippet of code that could accomplish this...

              Comment

              • European Lee
                Confirmed User
                • Dec 2002
                • 7133

                #8
                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
                YOUR TRAFFIC IS SAFE WITH US - CONDOM CASH
                PUTTING THE GAY ADULT INDUSTRY ON YOUR PC!!
                AFFORDABLE 2257 COMPLIANT GAY + BI CONTENT

                Comment

                Working...