Add Rel=”Nofollow” for WordPress

WordPress Calender

By default, the links of WordPress Calender do not like <a href=”signin.php” rel=”nofollow”>sign in</a>, how to add  rel=”nofollow”  to the wordpress calender then?

Edit general-template.php ,which is under the folder of wp-includes, find:

<a href=”%s” aria-label=”%s”>%s</a>

which is at about line 2104, and replace it to:

<a href=”%s” aria-label=”%s” rel=”nofollow”>%s</a>

Visit the demo site: