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

quicksketch’s picture

Status: Active » Closed (works as designed)

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.

gearhead’s picture

Is there a module that would do this for internal links to user profiles?

niklp’s picture

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-drupal

Have fun.

gearhead’s picture

I tried that and it did not work. Copy/Paste your code into template.php and it did not work.

niklp’s picture

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.