Add rel nofollow to all external links in the node body and comment body
For for node body field use below code: /* Add nofollow */ if(isset($variables['content']['body'][0]['#markup'])) { [...]
For for node body field use below code: /* Add nofollow */ if(isset($variables['content']['body'][0]['#markup'])) { [...]