Remove Hyperlinks in Comments

by Stefan on November 30, 2009

Remove Hyperlinks in Comments is a very simple plugin that prevents Wordpress from automatically creating hyperlinks in the comments section.

A few months ago Google decided to change their policy on nofollow and partly because of this I decided to remove the ability to add your website when commenting on one of my sites. Unfortunately most of my visitors decided to get around this simply by adding their site in the end of the comment. I personally have nothing against this but since the default behaviour by Wordpress (as of version 2.8) is to automatically create a hyperlink from links in comments I was back on square one again.

Since I could not find a simple method to deactivate this I ended up creating this plugin which will unlink all links in the comments section. Feel free to share your thoughts and feedback with a comment below.

Download

You can download Remove Links in Comments from Wordpress.

Installation

  1. Unzip, upload the folder to your WordPress plugin directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You’re done!

Changelog

1.0

  • First public release (30/11/2009)

Donations

If you like this plugin, feel free to donate a link to this post or blog.

Related posts:

  1. Important Plugins for Wordpress
  2. How to Hide Affiliate Links
  3. How to Keep Track of Your Comments
  4. How to Make the Most of Your Comments
  5. Remove Capitalizing in Theis Sidebar Headings

{ 10 comments… read them below or add one }

1 George Serradinho December 1, 2009 at 08:58

Hi,

you could set it to not automatically approve if there are a certain number of links (Settings >> Discussion >> Comment Moderation). I have set mine to 1 link.

I don’t mind links as long as they are related to the post.

Reply

2 Stefan December 4, 2009 at 10:44

This is a common problem in Sweden, they are rarely related to the post.

Reply

3 Phaoloo December 1, 2009 at 10:26

Yep, it might help preventing spam links. But why don’t you use Disqus since people now like it and all links appear are generated by javascript to there’s no worry about PR juice.

Reply

4 Ruchi December 1, 2009 at 18:39

This looks like an interesting plugin i will give it a try.

Reply

5 Stefan December 4, 2009 at 10:45

I’m glad to hear. Feel free to get back with your feedback.

Reply

6 Sire December 4, 2009 at 10:28

Stefan, do you mean that you have a lot of people leaving links in their comments. I haven’t come across that problem yet. I don’t mind a link if it’s relevant, but if it isn’t I’ll just delete the comment.

Reply

7 Stefan December 4, 2009 at 10:49

This is a common problem in Sweden. For some time now most of the Swedish blogs are about fashion and the big blogs within this topic do not have a input for your URL and therefore people started to add the link in their comment (copy-paste). Later on this has spread and now almost all the girls within the age of 0-18 add a link to their site at the end of their comment.

Reply

8 Sire December 4, 2009 at 10:55

Well, all I can say is I hope it doesn’t spread because it it does I will have to change my comment policy ;)

Reply

9 ProBusinessGuy February 12, 2010 at 23:44

If there are no links for people to comment on then how are they going to boost their page rank?

This is the problem i have is that people make their blog nofollow because they dont want spammers. But they have to understand that us smaller guys dont have a huge budget to buy pr8 backlinks.

Reply

10 Stefan February 22, 2010 at 00:56

Blog comments is not a good method to get backlinks and you should forget all about pagerank since it’s almost useless when it comes to ranking on search engines.

Reply

Leave a Comment


Previous post: Celebrities Deaths Popular on Bing in 2009

Next post: Stop Trying to Save Time