Redirecting domains

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KyleC
    Confirmed User
    • May 2012
    • 327

    #1

    Redirecting domains

    If I have a site that is redirecting to one affiliate landing page, can I switch up the redirect at different intervals with other affiliates? I'm probably going to sell the domain anyways, but I'm just trying to see what happens. Has anyone had any success in redirecting URLs for $?
    Who am I? My LinksCamsClips4Sale Store SLEAZYPORNTUBE ThickCash Webmaster Program
  • JamesM
    Confirmed User
    • Nov 2012
    • 732

    #2
    you mean you want to redirect surfers to different/random urls from predefined urls.

    if this is the case then you can do like this

    PHP Code:
    <?php
    $arr = array("url1", "url2");
    header ("Location: " . $arr[array_rand($arr)]); ?>
    this will randomly send surfers to one of the url.

    you can add many more urls in above code like this

    PHP Code:
    <?php
    $arr = array("url1", "url2", "url3", "url4", "url5", "url6");
    header ("Location: " . $arr[array_rand($arr)]); ?>
    You can even send surfers from specific country to specific url also.

    Thanks


    Ex GF Films | Grab Dollars
    Up To 80% Rev-Share | 255 Day Cookie | Legal Content | Variety of Promo Tools | CCBill Program | GF Niche
    james[at]grabdollars[dot]com | ICQ::611-99-zero-zero-20

    Comment

    • KyleC
      Confirmed User
      • May 2012
      • 327

      #3
      Thanks for the code. I'm just using godaddy to redirect all surfers to one domain. I had no clue about sending them to different urls at random. PM me sometime
      Who am I? My LinksCamsClips4Sale Store SLEAZYPORNTUBE ThickCash Webmaster Program

      Comment

      • CamsMaster
        Confirmed User
        • Mar 2009
        • 1200

        #4
        yap php does it all if you know what you want first of all
        Sex Chat Roulette | Adult Sex Chat | Cam Sites | Mature Cams | Director Web | Videochat | Webmaster | MediaEnterprise

        Comment

        • Tent Pitcher
          Confirmed User
          • Nov 2012
          • 213

          #5
          Originally posted by KyleC
          If I have a site that is redirecting to one affiliate landing page, can I switch up the redirect at different intervals with other affiliates? I'm probably going to sell the domain anyways, but I'm just trying to see what happens. Has anyone had any success in redirecting URLs for $?
          You didn't specifically ask it, but it is worth mentioning - redirects, especially on landing pages, will kill your search engine rankings and can negate any SEO you have in place. If you've got a great, high visibility domain and are just trying to make money from affiliate links then you might have some luck. But if you are just trying to make money redirecting an obscure domain to affiliate sites, don't expect to get rich anytime soon.
          Last edited by Tent Pitcher; 11-18-2012, 09:25 PM.
          Tent Pitcher - Adult Search Engine

          Comment

          Working...