We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28676
    • 136 Posts
    I`m creating a website that has tradedoubler links in and apparently google is now restricting its index with tradedoubler liks becuase most are just link farms.

    Mine isnt just a link farm but I still have tradedoubler links, I would like to create a snippet that would mask the url, but my knowledge is still poor.

    I did find this link http://www.stevedawson.com/article0006.php

    Code is as follows

    <?php
    if ($m == "just phones") {$link = "www.tradedoublerlink.com";}
    
    header ("Location: $link"); jump to the hidden link
    exit();
    ?>


    I dont want a massive links database becuase I already have the info in the database in the form of tv called affiliatelink and also have a tv called name that I could use insead of "just phones"
    the trouble is I dont know how to implement the whole thing, do I make a snippet? How should I make the call becuase this script expects a link like <a href="jump.php?m=Just Phones"> how do I make the cal to the snippet?

    Really appreciate some help.

    cheers
    straty
      I made my first site with modx
      ------------------------
      http://www.shop-bright.com | Uk shopping blog