Hi, good work on a great filter, and I look forward to the D7 release, I still haven't found an effective replacement.

I'm using this filter with ckEditor.

I'm really like the spam link deterrent whitelist, but have just noticed that all relative links in my content are being screened out by the filter.

I can of course add all the links as absolute, but then that will stuff things up when I grab the site to work on it locally.

I have pages that aren't in menus or linked from other places outside the content, so this is really bad for SEO as none of them will be indexed by robots.

I can't see the harm in allowing relative links as they can never link outside the site anyway.
Can this be incorporated into the filter?

Comments

vinmassaro’s picture

Subscribing. I just ran into this as well - rel=nofollow is being added to relative links, particularly to PDFs being linked to internally.

dsrikanth’s picture

Was this resolved? I think this is critical at least with respect to SEO to be able to whitelist internal links

HyperGlide’s picture

Follow up to #2 was this resolved in the 6.x and 7.x branch?

Thank you.

rgristroph’s picture

I ran into this problem on the Drupal 7 version.

The problem was that when doing a whitelist nofollow policy, if there is a relative link, it does not find a domain from the whitelist, because there is no domain at all, and then it adds the rel="nofollow". I made it check for a leading "/" as a way of detecting the relative link.

Note that the attached patch is for the Drupal 7 version -- I will see about re-rolling it for Drupal 6 as well.