What script do you use to Redirect you traffic?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrgica
    Confirmed User
    • Jan 2004
    • 2169

    #1

    What script do you use to Redirect you traffic?

    ?
    Fuck it dude, lets go bowling
  • johnbosh
    Confirmed User
    • Aug 2002
    • 8965

    #2
    http redirect

    Comment

    • fris
      I have to go potty
      • Aug 2002
      • 55785

      #3
      mod_geoip mod_rewrite .htaccess
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


      Totally Free Templates

      Comment

      • johnbosh
        Confirmed User
        • Aug 2002
        • 8965

        #4
        wharts a google clean way?

        Comment

        • Hosting-Quote
          Confirmed User
          • Jul 2004
          • 161

          #5
          PHP Code:
          <?
          header("location:http://ok.com");
          ?>
          $100 SIGNUP BONUS AT PARTY POKER!!

          Get Hosting Client Leads ($10 Free Credit)
          Looking for hosting???? Click here!

          Comment

          • StarkReality
            Confirmed User
            • May 2004
            • 4444

            #6
            Originally posted by johnbosh
            wharts a google clean way?
            Well, there are many ways, how safe they are long term is unpredictable:

            1. Simple JS redirect (window.location.replace): Still works with google without penalty, regardless of all rumors, but isn't the best way long term.

            2. "Eval" JS: Good way, you split up different parts of the simple redirect and put them together via eval function again, this way a redirect detection looking for typical strings can't catch you that easy.

            3. External JS: Great in combo with 2., you put the JS code in a separate file and include it on the page. Another advantage: If you ever want to change the redirect, you only have to edit a single file, not hundreds of pages

            The bad thing about all above: Once the surfer disables JS, the real page will show up, so make sure you doorways don't look like shit.

            4. Flash: Yep, you can include a little flash file that contains nothing but a redirect...I wouldn't do it, too many users without flash out there still.

            There are many more ways, but the above are popular and easy.

            Couple of things Google does NOT like: Cloaking via CSS, 302 redirects, htaccess error redirects, parent window replacements, meta refresh
            Last edited by StarkReality; 07-07-2004, 09:17 AM.

            Comment

            • macho
              Confirmed User
              • Nov 2001
              • 2875

              #7
              HTML Refresh or Redirect



              One of the most requested items we get is "How do I make an html redirect page".

              Strangely enough this is one of the easiest things to accomplish, but then anything is easy when you know how to do it!

              Here's the code:

              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
              <html>
              hahahahahaha>
              <title>Your Page Title</title>
              hahahahahaha hahahahahahahahahaha="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
              <BODY>
              Optional page text here.
              </BODY>
              </HTML>

              Code Description:

              hahahahahaha hahahahahahahahahaha="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"> is the part that actually does the redirecting.

              The number preceding the url (in this case zero) tells the browser the number of seconds to wait before redirecting to the new url.

              You could set this to 5 and add some optional text to your page - something like:

              "Please wait while we redirect you to our new site".

              That's it! Just copy the code, save it (i.e. save as index.html) and your html redirect will work perfectly.
              GayPay X2 -- #1in the niche! $35 per sign! Up to 70% revenue share! http://www.gaypay.com

              Comment

              • Mikel
                Confirmed User
                • Oct 2001
                • 386

                #8
                I made a php script and I use a database of ip's to redirect some countries to particular sponsors.

                In some case, browser language can also be good.

                Comment

                Working...