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
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.
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 ?
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.
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.
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.