joomla problem with affiliate link

Discussion in 'Joomla' started by offpista, Sep 29, 2010.

  1. #1
    Hey guys,

    how can I hide/change affiliate links in JOOMLA
    such as
    www,pokerstars.com/123456

    and change to to
    wwww.bestpokersiteever.com/go/pokerstars

    ?

    Many thanks!!!
     
    offpista, Sep 29, 2010 IP
  2. marvintechnology

    marvintechnology Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The two are different domains you need to decide only one or a subdomain to the one you have selected.
     
    marvintechnology, Sep 30, 2010 IP
  3. LyNHS

    LyNHS Peon

    Messages:
    57
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I see what you mean ... if you want to hide your affiliate link then why not use JavaScript?

    <script type="text/javascript">
    function pokerStars() {
    window.location.href = "www.pokerstars.com/123456"
    };
    </script>
    
    <a href="#" onClick="pokerStars()">PokerStars</a>
    
    Code (markup):
    OR if you want to achieve what you mentioned in your post, then create a directory called "Go", and then create a file within that directory called "pokerstars.php" and add the following inside:
    
    <?php
    
    Header("Location: www.pokerstars.com/123456");
    
    ?>
    
    Code (markup):
    then just use www.bestpokersiteever.com/go/pokerstars.php ... if you want to go to that page without the .php at the end then you'll going to need to use your .htaccess file ...

    Hope that helps,
    Lynn.
     
    LyNHS, Oct 1, 2010 IP
  4. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #4
    With the example above it assumes that search engines can not read javascript. I am also assuming the OP wants to "hide" their affiliate link from the search engines...
     
    Blue Star Ent., Oct 1, 2010 IP