1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can anyone recommend a plug in for masking aff links?

Discussion in 'Blogging' started by hmansfield, Jul 6, 2007.

  1. #1
    Just like it say's. It's time I got around to doing that.
    Can anyone recommend a plug in for masking affiliate links in Word Press?

    Thanks in advance:0

    OH! and NOT Tinyurl. (It's been overdone by spammers)
     
    hmansfield, Jul 6, 2007 IP
  2. stirfryguy

    stirfryguy Peon

    Messages:
    165
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I always did a 301 url redirect in my .htaccess

    redirect 301 affilatelforringtones.html http://www.yourdomain.com/ringtones.html

    the first part is your jumbled affilate link and the second park is the masking
     
    stirfryguy, Jul 6, 2007 IP
  3. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #3
    I don't understand how to do that. If you have a moment I would appreciate it.
     
    hmansfield, Jul 6, 2007 IP
  4. Monty

    Monty Peon

    Messages:
    1,363
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If what you want to do is to mask the destination page in the status bar, you can write your link this way :
    
    <a href="http://www.example.com" onmouseover="window.status=' ';return true;">anchor</a>
    Code (markup):
    For a PHP script, here is one : http://www.stevedawson.com/article0006.php (didn't try it)
     
    Monty, Jul 6, 2007 IP
    ameyjah likes this.
  5. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #5
    I think I get that , thanks.
     
    hmansfield, Jul 6, 2007 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    So I have to do this with each individual link? Seriously, isn't there a plug in? I have a lot of links.
     
    hmansfield, Jul 6, 2007 IP
  7. MarRome

    MarRome Peon

    Messages:
    865
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I use php for this. All my aff links are /recommends/affprogram, so you have to have a folder named recommends, then inside the recommends folder you would need a seperate folder for each program ex: /recommends/yourprogram , inside the folder yourprogram you need an index.php with this inside

    <?php
    header( 'Location: http://www.yourprogram.com/affcode' ) ;
    ?>
    Code (markup):
    then your link would look like yoursite.com/recommends/yourprogram
    would redirect to yourprogram.com/affcode

    Good luck
     
    MarRome, Jul 7, 2007 IP
  8. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #8
    OK, so I have to have a separate folder for every affiliate link on my blog.
    If I have 50 products from the same affiliate, I need 50 different folders?

    And I just need that code..that's it, and it will change the mouse over view of my links. I don't need to ad anything else, like what I want the mouse over to look like.
    It does it on it's own? Or does it take it from the name of the folder?
     
    hmansfield, Jul 7, 2007 IP
  9. MarRome

    MarRome Peon

    Messages:
    865
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Each affiliate program would need a separate folder inside recommends.
    When inserting a link you would use http://yoursite.com/recommends/affprog
    that is also the link people would see when they mouse over.
    Attached is an example.

    Good luck
     
    MarRome, Jul 7, 2007 IP
  10. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #10
    Thanks MarRome. I will work on it now.:D
     
    hmansfield, Jul 7, 2007 IP
  11. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #11
    Where exactly do I install this folder?
     
    hmansfield, Jul 7, 2007 IP
  12. MarRome

    MarRome Peon

    Messages:
    865
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #12
    the root folder of your blog
     
    MarRome, Jul 7, 2007 IP
    hmansfield likes this.
  13. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #13
    OK, trying it now, thanks
     
    hmansfield, Jul 7, 2007 IP
  14. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #14
    I must be doing something wrong, it's not working

    <EDIT>
    OK, I finally understand it now.. I got it! Thanks MarRome. Big help and reps:)
    No...it's not.. It worked for one link, but not the rest
     
    hmansfield, Jul 7, 2007 IP
  15. stirfryguy

    stirfryguy Peon

    Messages:
    165
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #15
    sorry for not getting back to you eairler hmansfield.

    this is a bit more work for your 50 links, but it works for me.

    In your .htaccess add in:

    redirect 301 /productyouarewantingtoaffilate.html http://www.domain.com/dkd783ljgv82hglj28
    Code (markup):
    so as a real url:
     redirect 301 /basketballs.html http://www.espn.com/?ljdogh98yh9787h
    Code (markup):
    so all you would need to do is like a word or phrase to /basketballs.html

    I Pmed you a demo also.
     
    stirfryguy, Jul 9, 2007 IP
  16. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #16
    I will check it out, thanks for your time, and help.
     
    hmansfield, Jul 9, 2007 IP