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'])) { [...]

July 04, 2013 · 2 min · danpros