MyBB Central

Full Version: No follow
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do I set all the links in a Mybb forum to nofollow?
Assuming you mean only links in posts, try this... line 858 of ./inc/class_parser.php:

PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\">$name</a>"

replace with:

PHP Code:
$link "<a href=\"$fullurl\" target=\"_blank\" rel=\"nofollow\">$name</a>"