为文章中链接添加nofollow 2019-3-04 21:29 | 449 | 2020-11-11 16:18 | 0 | 未分类 45 字 | 2 分钟 为自己文章中的所有外链自动加nofollow防止权重流失。 //给文章外链添加nofollow add_filter('the_content','web589_the_content_nofollow',999); function web589_the_content_nofollow($content){ preg_match_all('/h… WordPress