Closed (works as designed)
Project:
External Links
Version:
5.x-1.4
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2008 at 11:23 UTC
Updated:
2 Apr 2008 at 10:37 UTC
This would be trivial to implement, no doubt - but is it appropriate?
I'm thinking just a checkbox to add the rel tag to external links would be cool. Obviously there are sites where this would not be advantageous, but it's nice to have options.
Comments
Comment #1
quicksketchI think the need for this is nullified either by link module (a CCK field) that provides this option on a per-field basis, or by the Filtered HTML filter that can automatically add rel=nofollow to links.
Since extlinks module is an entirely javascript based solution, it doesn't actually have the ability to add a rel=nofollow. The googlebot isn't going to load the javascript on the page to make the necessary DOM changes.
So it's something to have considered, but now taking a look at it, it's not really necessary nor even possible with this module's approach.
Comment #2
gearhead commentedIs there a module that would do this for internal links to user profiles?
Comment #3
niklp commentedActually, I implemented this myself on my own site, and posted about it on my blog. You can see a couple of other tricks here too.
http://www.kinetasystems.com/blog/three-tips-for-comment-theming-in-drupal
Have fun.
Comment #4
gearhead commentedI tried that and it did not work. Copy/Paste your code into template.php and it did not work.
Comment #5
niklp commentedThat code is cut & pasted from the template.php on my live site. I suggest you try reading the directions on that post properly. If then it doesn't work (which it will, unless you're doing something odd/crazy), please post a comment on the blog, not here. Ta.