Remove Author Link on WordPress Comments

About: Avoid spammers from your Wordpress Comments by deactivating the author link.

It has been a practice for some web site developers and link builders to put their web site link on comments to gain back-links and promote their own web sites. Sometimes, this method was abused and is a favorite of some bots created by Internet spammer for the same purpose. There are a  number of spam plug-ins to be used within WordPress but not all can be filtered-out. So to avoid having unwanted links of the comments or make Author Links deactivated in WordPress comments we have come to a solution in modifying the comments.php template file:

1. Using FTP client or login to WordPress and go to Appearance > Editor

2. On Templates , click on Comments (comments.php)

3. Look for comment_author_link() and remove the _link

4. You should now have it like comment_author()

5. You will notice that author link on WordPress comment is now deactivated. 

Wordpress Comment Author Link

One comment
  1. Great Tip ! Many Thank I search for This Technique Many time in Google. I have lot of comment spam for my blog , Before I find your post I’m test alot of wordpress plug-in but all of it make my blog loadtime too slow ! that make me think why use plug-in if logic of all plug-in is insert some code in your theme

    Thank again , It’s Work !

Leave Comment