diff --git a/modules/mod_menu/tmpl/default_url.php b/modules/mod_menu/tmpl/default_url.php index 67cc32a2443d4..166189a73b95e 100644 --- a/modules/mod_menu/tmpl/default_url.php +++ b/modules/mod_menu/tmpl/default_url.php @@ -50,6 +50,11 @@ { $attributes['target'] = '_blank'; $attributes['rel'] = 'noopener noreferrer'; + + if ($item->anchor_rel == 'nofollow') + { + $attributes['rel'] .= ' nofollow'; + } } elseif ($item->browserNav == 2) {