How to make all outbound links Nofollow ?

Discussion in 'HTML & Website Design' started by soulbleed62, Jan 27, 2008.

  1. #1
    Hi

    I have a wordpress plugin on my site that is encrypted so i cant edit the code, but i want to append a nofollow attribute to affiliate links that it generates.

    since i cant change the code, i plan on just making all outbound links nofollow.

    ive searched google and these forums and cant find an easy way to do this.

    does anyone know how to do what im asking ?

    cheers
     
    soulbleed62, Jan 27, 2008 IP
  2. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure how this goes with code you can't edit...

    <a href="blah blah" rel="noindex nofollow">link</a>
    Noindex is only for bots if you wanted that.

    I don't know if you can add that to each link if you can't change code. There may be a robots.txt that specifically applies only to outbound links that you can stick in your header but I haven't seen this.
     
    Stomme poes, Jan 28, 2008 IP
  3. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #3
    It's going to be worth the effort for someone to de-obfuscate the plugin code & alter the <a> elements it generates there.
    Any type of work around is going to be a performance hit on every page view. From what I understand, Wordpress is already a resource hog.

    Where did you get this plugin ?
    Why can't the author work this into the plugin ?
     
    joebert, Jan 28, 2008 IP
  4. soulbleed62

    soulbleed62 Peon

    Messages:
    143
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks for the replies.

    the website where i got the plugin dosent load anymore, i think the author made the plugin into a paid version now, and i have the free version, so its unlikely that they will help me out with it.
     
    soulbleed62, Jan 28, 2008 IP
  5. wmtips

    wmtips Well-Known Member

    Messages:
    601
    Likes Received:
    70
    Best Answers:
    1
    Trophy Points:
    150
    #5
    If you need to make ALL links on a page nofollow, you can use
    
    <META NAME="ROBOTS" CONTENT="NOFOLLOW">
    
    HTML:
    (See more)

    Or use robots.txt for exclusion if your outgoing links match some certain pattern.
     
    wmtips, Jan 28, 2008 IP
  6. soulbleed62

    soulbleed62 Peon

    Messages:
    143
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    well i maganged to decode the encrypted code, but im having trouble find the url within the code to add the rel="nofollow" to it.

    if anyone has a spare 5 mins can i send them the code and they throw the nofollow in? ill give u $5 paypal if u want.
     
    soulbleed62, Jan 28, 2008 IP
  7. soulbleed62

    soulbleed62 Peon

    Messages:
    143
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    its ok i sorted it out.

    thanks to everyone that helped.
     
    soulbleed62, Jan 28, 2008 IP