Documentation and comment add nofollow for all links.

It's all right for external link... but why using that for internal link?

Specially because old pages of documentation have habitually a link to the new one. It will help Google to prioritize the more up to date and relevant documentation pages or forum post.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gagarine’s picture

Nobody want to change that? I think it's a very important SEO feature that will make this website more searchable from external search engine.

Gerhard Killesreiter’s picture

I believe that this is a limitation of the core Drupal "no follow" filter: it doesn't check whether a link goes back to the same domain. Ideally it would (and remove the domain part, ie convert the link to a local link).

gagarine’s picture

Project: Drupal.org site moderators » Drupal core
Version: » 7.x-dev
Component: Spam » filter.module

Move to the filter module and see...

gagarine’s picture

Status: Active » Needs review
FileSize
1.51 KB

Here a patch. I guess we need a patch for D8 but please check if the logic is ok for you...

Mainly I didn't provide an option to add nofollow for internal link. Because I think It's a bad practice and I didn't see any use case for that.

This is a good chance to improve SEO for a lot of drupal website with this simple patch. First in line drupal.org...

Pere Orga’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)