Nofollow "reply to" links

Posted in: Newsmag
Post count: 217

Hi,

How can I nofollow the “reply to” links in the comments section?

I mean this ones with the long tail at the end.

http://www.promicabana.de/lady-gaga-born-this-way-radio/?tag=Lady+Gaga&replytocom=44878#li-comment-44868

I tried this code at the end of my functions.php, but that didn’t work.

/**
* Add a rel="nofollow" to the comment reply links
*/
function add_nofollow_to_reply_link( $link ) {
return str_replace( '")\'>', '")\' rel=\'nofollow\'>', $link );
}
add_filter( 'comment_reply_link', 'add_nofollow_to_reply_link' );

Thank you!

Post count: 6600

Hi,

The theme uses WordPress’s comments system so that comment reply link is added by WordPress. I suggest you search for a solution for this online or for a plugin.
I also tested the filter you’ve provide and it doesn’t work for me either.

Thanks

Post count: 23

Why not use Disqus? It’s free and looks charming with newsmag… hahaha

Post count: 9544

Disqus slows down the site a bit for some folks …. hahahahaha

Of course there is now a “lazy load Disqus” plugin which looks promising and uses the Disqus API, but not their plugin… will be testing soon.

Post count: 217

I don’t use disqus, because I can’t believe that the comments will be fully indexed or are there any experiences with that?

Post count: 23

@Chris S Disqus worked very well on my site, I have used it in the last few years. Maybe Disqus bit problematic for sites that live in shared hosting environments… hahahaha 😀 Yahh, maybe this plugin, right? https://wordpress.org/plugins/disqus-conditional-load/


@Bichareh
That’s not true, all Disqus comments will be fully indexed in Google. I think Disqus is similar to social media and that’s good for community.

Post count: 217

Unfortunately with lazy loading Disqus, the comments will not be indexed from Google. I wanted to give Disqus another try, but this answer doesn’t make me happy: https://wordpress.org/support/topic/can-search-enginesbots-see-comments

How slow is the original Disqus plugin?

Post count: 217

Hey guys,

wanted to let you know, that there is some new comment system in the house. https://wordpress.org/plugins/solidopinion-comments/

It looks very great, is loading async and have some cool features that Disqus not have. I will give it a try, I think. 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.