Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | drupal.no_nofollow_for_internal_links_1114988_4.patch | 1.51 KB | gagarine |
Comments
Comment #1
gagarine CreditAttribution: gagarine commentedNobody want to change that? I think it's a very important SEO feature that will make this website more searchable from external search engine.
Comment #2
Gerhard Killesreiter CreditAttribution: Gerhard Killesreiter commentedI 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).
Comment #3
gagarine CreditAttribution: gagarine commentedMove to the filter module and see...
Comment #4
gagarine CreditAttribution: gagarine commentedHere 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...
Comment #5
Pere OrgaDuplicate of #541620: Don't add nofollow to internal links