Hello! Pavel here. In this article, I want to show you how to “hide” the links of your blog’s commenters from being indexed by search engines.
Over the entire existence of this engine, tens of thousands of plugins have been created — including those related to comments. But in my case, I decided to take a non-standard route: I made some changes to the “functions.php” file of my theme. And now, the links to commenters’ websites are hidden. Moreover, I see more than one way to hide them (but more on that later).
This method of hiding links works with any WP theme. But! If you’re using a default theme — for example, twentytwelve — then after an update you’ll have to make changes to the “functions.php” file again, which is inconvenient. The best approach is to use this method with a child theme (as I do), or a custom theme.
read more...