Add rel="nofollow" option?
NikLP - February 6, 2008 - 11:23
| Project: | External Links |
| Version: | 5.x-1.4 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
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.

#1
I 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.
#2
Is there a module that would do this for internal links to user profiles?
#3
Actually, 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-drup...
Have fun.
#4
I tried that and it did not work. Copy/Paste your code into template.php and it did not work.
#5
That 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.